The "current craft" as the observer of a view of the scene. More...
#include <_src_view_observer_current_craft.hh>
Public Member Functions | |
| ObserverCurrentCraft (void) | |
| virtual | ~ObserverCurrentCraft () |
| virtual Matrix | GetObserverMatrix (void) |
The "current craft" as the observer of a view of the scene.
The Observer is the source of the Viewpoint (View Matrix). Pass Observer object to OtwViewpoint ctor so it will provide the Observer Matrix.
Implementation: This is a Singleton in disguise (think of this as a link). Making a shptr using "new ObserverCurrentCraft" is needed for OtwViewpoint and Lua. Regardless, every instance of ObserverCurrentCraft is based on the unique "current craft".
| view::ObserverCurrentCraft::ObserverCurrentCraft | ( | void | ) | [inline] |
| virtual view::ObserverCurrentCraft::~ObserverCurrentCraft | ( | ) | [inline, virtual] |
| virtual Matrix view::ObserverCurrentCraft::GetObserverMatrix | ( | void | ) | [inline, virtual] |
Implements view::Observer.
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12