add .set_rotation(mat4)

This commit is contained in:
MihailRis
2024-11-15 04:29:52 +03:00
parent a7404c2637
commit 04da2f5e69
3 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -39,5 +39,6 @@ function on_hud_render()
note:update_settings({
color={math.sin(time.uptime() * 12) * 0.5 + 0.5, 0, 0, 1}
})
note:set_axis_x({math.sin(time.uptime()), 0, math.cos(time.uptime())})
-- note:set_axis_x({math.sin(time.uptime()), 0, math.cos(time.uptime())})
note:set_rotation(mat4.rotate({1, 1, 0}, time.uptime() * 57))
end