Changeset 3365 in orxonox.OLD for orxonox/trunk/src/camera.h
- Timestamp:
- Jan 7, 2005, 1:14:33 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/camera.h
r3236 r3365 8 8 9 9 #include "stdincl.h" 10 #include "world_entity.h" 10 11 11 class WorldEntity; 12 12 13 class World; 13 14 … … 23 24 enum CAMERA_MODE {NORMAL, SMOTH_FOLLOW, STICKY, ELLIPTICAL}; 24 25 25 class Camera {26 class Camera : public WorldEntity { 26 27 private: 27 28 WorldEntity* bound; //!< the WorldEntity the Camera is bound to 28 Placement actualPlace; //!< the Camera's current position29 Placement desiredPlace; //!< where the Camera should be according to calculations30 29 World* world; 31 30 … … 37 36 38 37 /* elliptical camera mode variables */ 39 Placement plLastBPlace;40 38 float cameraOffset; 41 39 float cameraOffsetZ; … … 63 61 void apply (); 64 62 void bind (WorldEntity* entity); 65 void jump (Placement* plc);66 63 void destroy(); 67 64
Note: See TracChangeset
for help on using the changeset viewer.