Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Feb 3, 2006, 12:59:42 PM (18 years ago)
Author:
bensch
Message:

trunk: better interface to CameraDistance

File:
1 edited

Legend:

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

    r7009 r7013  
    4848  inline const Plane& getViewFrustum() const { return this->frustumPlane; }
    4949
     50  inline float distance(const Vector& distance) const { return this->frustumPlane.distancePoint(distance); }
     51  inline float distance(const PNode* node) const { return distance(node->getAbsCoor()); }
    5052
    5153  void tick(float dt);
Note: See TracChangeset for help on using the changeset viewer.