apply batched mesh to all things

This commit is contained in:
tresabhi committed 2026-11-29 21:57:28 -06:00
1 parent 19fdb087c5
commit 3078dfeb10
21 files changed
+844 -892

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# BlitzKit
## Layout
- Hooks live in `src/hooks/useName.ts` (`.tsx` if they render JSX), one hook per file named after it, never inside a component's folder.
## TypeScript
- When an `if`/`else if` chain checks one value against several candidates (`x === "a"`, `x === b`, ...), use a `switch` on that value instead. Inside a loop, end each case with `continue`, and put the checks a `switch` can't express (`startsWith`, ranges, ...) as an `if` after it, not in `default`.