elemel / crust

CRUST
1 stars 1 forks source link

Rasterize blocks #11

Closed elemel closed 12 years ago

elemel commented 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)