Closed elemel closed 12 years ago
Implement block.rasterize(polygon)
Populates the block with only the elements that overlap the polygon. Start with a point-in-polygon test for each potentially overlapping element.
Store the polygon for use in physics. This is a hack but should be good for now.
Implements story: Efficient block generation (#9)
Implement block.rasterize(polygon)
Populates the block with only the elements that overlap the polygon. Start with a point-in-polygon test for each potentially overlapping element.
Store the polygon for use in physics. This is a hack but should be good for now.
Implements story: Efficient block generation (#9)