Drop verbose comments from the clip-cache change.

This commit is contained in:
2026-08-14 22:40:42 -07:00
parent 41fb0a3d5a
commit 8d9faaaee0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Sprite :: struct {
data: ^Character_Data, data: ^Character_Data,
position: Vec2, position: Vec2,
clip: string, clip: string,
clip_def: Clip_Def, // shallow cache; frames alias Character_Data (do not mutate clips map after spawn) clip_def: Clip_Def,
has_clip: bool, has_clip: bool,
frame: int, frame: int,
time: f32, time: f32,
+1 -1
View File
@@ -3,7 +3,7 @@ package main
import "core:fmt" import "core:fmt"
import eng "pkg:engine" import eng "pkg:engine"
// Stress the draw budget: one Character_Data, MAX_SPRITES instances. // Many sprites sharing one Character_Data (Flyweight) — good batching demo.
COUNT :: eng.MAX_SPRITES COUNT :: eng.MAX_SPRITES
COLS :: 16 COLS :: 16
FRAME_LOG_EVERY :: 60 FRAME_LOG_EVERY :: 60