On 9/9/07, Kai Sterker <[EMAIL PROTECTED]> wrote:

> What has to happen next is a rewrite of world::placeable_area
> (http://adonthell.berlios.de/api/da/dea/classworld_1_1placeable__area.html)
> to make use of the 3D shapes.

Still not there, but at least a bit more of the prework got done
today: I wrote some drawing routines and made sure that the mesh for
the 3D shapes faces outwards (which will probably be important later
on).

I also reached a point, where integer coordinates are no longer
sufficient (when normalizing a vector). Since our coordinates mostly
represent pixel values, I'd still like to keep them as integers unless
a calculation requires higher precision. I'm not sure how to go about
that, but the current approach is to make vector3 a template that is
instantiated with u_int16, but has some methods whose return value is
a vector3<float> nonetheless. Not sure if that's a good idea, but it
was the simplest solution I could come up with. Any opinions on this?

With that in place, I hope to implement the actual object models next.

Kai


_______________________________________________
Adonthell-devel mailing list
Adonthell-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/adonthell-devel

Reply via email to