animation + test

This commit is contained in:
2026-08-01 08:27:44 -07:00
parent eea672023f
commit fbae54aef0
11 changed files with 439 additions and 101 deletions
+8
View File
@@ -0,0 +1,8 @@
package engine
import sdl "vendor:sdl3"
// now_seconds returns seconds since SDL init (monotonic for frame timing).
now_seconds :: proc() -> f64 {
return f64(sdl.GetTicksNS()) / 1_000_000_000.0
}