/*************************************************************************** camera.h - description ------------------- begin : Fri Jan 28 2000 copyright : (C) 2000 by Henrik Enqvist email : henqvist@excite.com ***************************************************************************/ #ifndef CAMERA_H #define CAMERA_H /** Every engine needs a camera. The camera is the viewer of the world. * The camera is added to the engine with the "setEngineCamera" function. * If you want to move the camera around you should add it to a group. *
Example:
* Group* groupC = new Group(1);* @see Engine */ class Camera { public: Camera(); ~Camera(); }; #endif // CAMERA_H
* Camera* camera = new Camera();
*
* engine->add(groupC);
* groupC->add(camera);
*
* engine->setEngineCamera(groupC);
*