mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
add .set_rotation(mat4)
This commit is contained in:
parent
a7404c2637
commit
04da2f5e69
3 changed files with 13 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue