more camera type stuff

This commit is contained in:
Greg Shuflin committed 2025-12-23 23:37:22 -08:00
1 parent fbab89c3ad
commit 6d7a079f1e
3 files changed
+67 -12

No files matched your search

+8
View File
@@ -173,6 +173,14 @@ partial def run : IO Unit := do
let spec <- SDL.getCameraFormat camera
let msg :=
let width := spec.width
let height := spec.height
let n := spec.framerateNumerator
let d := spec.framerateDenominator
s!"Framerate: {n}/{d} FPS width: {width}, height: {height}"
IO.println msg
let initialState : EngineState := {
window := window, renderer := renderer
deltaTime := 0.0, lastTime := 0, running := true