add .set_rotation(mat4)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user