Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7009 in orxonox.OLD for trunk/src/world_entities/camera.h


Ignore:
Timestamp:
Feb 3, 2006, 12:14:32 PM (18 years ago)
Author:
patrick
Message:

trunk: camera frustum culling plane added

File:
1 edited

Legend:

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

    r6999 r7009  
    99#include "p_node.h"
    1010#include "event_listener.h"
     11#include "plane.h"
    1112
    1213class World;
     
    4344
    4445  void setViewMode(ViewMode mode);
     46  inline const Vector& getViewVector() const { return this->viewVector; }
     47  inline const Vector& getUpVector() const { return this->upVector; }
     48  inline const Plane& getViewFrustum() const { return this->frustumPlane; }
     49
     50
    4551  void tick(float dt);
    4652  void apply ();
     
    6066
    6167  Vector            delay;
     68  Plane             frustumPlane;    //!< plane that marks the view frustum
     69  Vector            viewVector;      //!< the direction of the camera view
     70  Vector            upVector;        //!< direction of the up vector
    6271};
    6372
Note: See TracChangeset for help on using the changeset viewer.