diff examples/E01_hello_triangle.nim @ 535:21c276c0a968

fix: stuff, add working pong
author Sam <sam@basx.dev>
date Mon, 06 Feb 2023 23:32:45 +0700
parents eb92723db7b2
children 512d33d314c4
line wrap: on
line diff
--- a/examples/E01_hello_triangle.nim	Sun Feb 05 21:57:59 2023 +0700
+++ b/examples/E01_hello_triangle.nim	Mon Feb 06 23:32:45 2023 +0700
@@ -12,7 +12,7 @@
 
 var pipeline: RenderPipeline[VertexDataA, void]
 
-proc globalUpdate(engine: var Engine, dt: float32) =
+proc globalUpdate(engine: var Engine, t, dt: float32) =
   discard
 
 # vertex data (types must match the above VertexAttributes)