adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] Re: State of collision work


From: Kai Sterker
Subject: [Adonthell-devel] Re: State of collision work
Date: Mon, 24 Sep 2007 05:53:14 +0200

On 9/9/07, Kai Sterker <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]