@modoki/engine / index / generateGridMesh
Function: generateGridMesh()
generateGridMesh(
opts):GridMesh
Build a triangulated grid mesh over the sprite rectangle. With isInside, fully-uncovered cells are dropped and only vertices touching a kept cell are emitted (re-indexed compactly), so the mesh hugs the opaque region.