]> git.mxchange.org Git - flightgear.git/commit
First baby steps towards restructuring the view architecture. I've
authordavid <david>
Wed, 6 Mar 2002 16:03:33 +0000 (16:03 +0000)
committerdavid <david>
Wed, 6 Mar 2002 16:03:33 +0000 (16:03 +0000)
commitefe559ead40d99e8834138b62060080117de317f
tree277579a2f7ee5d16f32c3fdb4559d170ad73f7dc
parentbdbd69effd0068e9c523118445c8a5fb0ac62562
First baby steps towards restructuring the view architecture.  I've
created a new class, FGViewPoint (declared in viewer.hxx) that holds a
single position in FlightGear coordinates, and have used it to factor
a lot of the common code out of viewer_lookat.cxx and viewer_rph.cxx.

I don't know whether this new class will stay or not; it might just be
a temporary step, or it might end up taking over much of the current
viewer functionality.  It would be a bad idea to code against it right
now.
src/Main/viewer.cxx
src/Main/viewer.hxx
src/Main/viewer_lookat.cxx
src/Main/viewer_rph.cxx