diff options
author | sanine <sanine.not@pm.me> | 2023-05-18 22:23:42 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-05-18 22:23:42 -0500 |
commit | eafff1e04eb7f6a63818db035d2c6a277c5c364c (patch) | |
tree | c32d7bb4fde9408539d13ce43dc0ff4824765412 /scripts/update.lua | |
parent | 4b2507b2f30d50c8673f33179c2b537ac83da3bf (diff) |
visualize collisionsrefactor
Diffstat (limited to 'scripts/update.lua')
-rw-r--r-- | scripts/update.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/update.lua b/scripts/update.lua new file mode 100644 index 0000000..906fc17 --- /dev/null +++ b/scripts/update.lua @@ -0,0 +1,6 @@ +return function(db, id, dt) + local node = db:getComponent(id, "node") + --local t = honey.glfw.GetTime() + --node.matrix[2][4] = 2*math.sin(2*t) + node.matrix:rotateZ(math.pi*dt) +end |