2 Commits
Author SHA1 Message Date
Acruid 32db0f82f1 Grid chunks now use the GridChunkPartition method for generating a set of collision rectangles and their bounds.
Grid collision rectangles are now drawn as a blue overlay in the CollisionOverlay debug view.
GridChunkPartition now also returns the bounding rectangle, which is a union of all the collision rectangles.
Each IPhysShape now handles it's own debug drawing with a new method, DebugDraw.
2020-01-13 13:40:09 -08:00
Acruid 6817969c8b Adds a helper class that can partition a map grid chunk into a set of rectangles. 2020-01-13 11:23:35 -08:00