Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10204 in orxonox.OLD for branches/camera/src/world_entities/camera.h


Ignore:
Timestamp:
Jan 10, 2007, 1:18:46 PM (19 years ago)
Author:
gfilip
Message:

next update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/camera.h

    r10198 r10204  
    4141  CameraTarget* getTarget() const { return this->target; };
    4242  PNode* getTargetNode() const;
    43 
     43  void setTargetNode(PNode* target);
    4444  void setAspectRatio(float aspectRatio);
    4545  void setClipRegion(float nearClip, float farClip);
     
    6666
    6767  void process(const Event &event);
     68  CameraTarget*     target;          //!< The Target of the Camera (where this Camera Looks at)
    6869
    6970private:
    70   CameraTarget*     target;          //!< The Target of the Camera (where this Camera Looks at)
    7171
    7272  float             fovy;            //!< The field of view Angle (in degrees).
     
    8787class CameraTarget : public PNode
    8888{
    89   friend class Camera;             //! The CameraTarget is a friend of Camera. noone else needs a CameraTarget, so noone else can create it.
     89  friend class Camera;        //! The CameraTarget is a friend of Camera. noone else needs a CameraTarget, so noone else can create it.
    9090  ObjectListDeclaration(CameraTarget);
    9191
     
    102102  void atach(PNode* object);
    103103  Vector iterate(float dt, const Vector* target, const Vector* cam);
    104   void translate(float speed, float dt);
     104  void translate(float dt);
    105105  void changeSpeed(float speed);
    106106  Vector* rotate(Vector* newPos, float speed);
    107   void jump(Vector* newPos);
     107  void jump(Vector newPos);
    108108  void test();
    109109  void translateNow(Vector* vec);
Note: See TracChangeset for help on using the changeset viewer.