fogOfWarKit.package
README.md
core
fogOfWarKit's CPU engine: the fog grid (W x H cells), every team's batched and keyed sources, the explored memory, rectangular line-of-sight blockers, the per-team visible/explored byte buffers (laid out so they upload to the GPU unchanged), the rate-limited update, the visibility queries and the batched hide/show of tracked entities. Discs are stamped as one native buffer.fill per row span; line of sight casts rays across the blocker grid. Use it through fogOfWarKit.api; the render feature ticks it every frame.