refactor some api things
This commit is contained in:
parent
27b6459b9a
commit
1634b1126b
9 changed files with 35 additions and 34 deletions
|
|
@ -203,7 +203,7 @@
|
|||
(pxl8.draw_triangle_3d v0 v1 v2 color)))))))
|
||||
|
||||
(fn frame []
|
||||
(pxl8.clr 0)
|
||||
(pxl8.clear 0)
|
||||
|
||||
(pxl8.clear_zbuffer)
|
||||
(pxl8.set_affine_textures affine?)
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@
|
|||
(set bob-time (+ (* bob-time 0.8) (* target-phase 0.2))))))))
|
||||
|
||||
(fn frame []
|
||||
(pxl8.clr 0)
|
||||
(pxl8.clear 0)
|
||||
|
||||
(when (pxl8.world_is_loaded world)
|
||||
(let [bob-offset (* (math.sin bob-time) bob-amount)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue