Small cleanup.

This commit is contained in:
2026-09-18 07:21:44 +02:00
parent 37dc2ab2fc
commit fa21fd60b8
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ Level :: struct {
} }
init_level :: proc() -> Level { init_level :: proc() -> Level {
// positions work off viewport resolution, independent of target display size // positions work off viewport resolution,
// independent of target display size
// 10% padding around the field // 10% padding around the field
pad_x := f32(VIEWPORT_W) * 0.10 pad_x := f32(VIEWPORT_W) * 0.10
pad_y := f32(VIEWPORT_H) * 0.10 pad_y := f32(VIEWPORT_H) * 0.10
-1
View File
@@ -17,7 +17,6 @@ main :: proc() {
defer mem.tracking_allocator_destroy(&track) defer mem.tracking_allocator_destroy(&track)
context.allocator = mem.tracking_allocator(&track) context.allocator = mem.tracking_allocator(&track)
} }
// ------------------------------------------------------------------------------
// ------------------------------------------------------------------------------ // ------------------------------------------------------------------------------
// Game Loop // Game Loop