Monday, April 4, 2011

wumpus-basic

Copperbox revision 2289.

I've changed the representation of PosObject so it always returns the BoundingBox of its orientation. This makes it easier to extend the shape (or pad it) as only the orientation and (possibly) the movement vector need changing. The resulting bounding box is calculated at rendering time.

The only real use case I have for PosObject needed the result to a bounding box, so this is no real loss of expressiveness.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.