The very basics. Points, Shapes and the World.
To that end I created 4 classes: Point, Shape, World and Viewport.
Point. Originally I wrote point as an array of int[3]: X Y and Z.
Shape - a list of points.
World - a list of shapes.
This was enough for me to define some basic shapes a Cube (e.g.) a cube and add them to the world. I couldn't draw them yet, but they existed. My fiancee was unimpressed.
Wednesday, January 20, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment