Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2014, 10:21:20 AM (11 years ago)
Author:
muemart
Message:

Comment out all the raytest stuff. Needs more work and/or knowledge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/turretFS14/src/modules/objects/Turret.h

    r10060 r10063  
    3737#include "objects/ObjectsPrereqs.h"
    3838#include "worldentities/pawns/Pawn.h"
     39#include <OgreSceneQuery.h>
    3940
    4041namespace orxonox
     
    6364            virtual void rotateYaw(const Vector2& value);
    6465            virtual void rotateRoll(const Vector2& value);
    65             virtual float isInRange(const WorldEntity* target) const;
     66            virtual float isInRange(const WorldEntity* target);
    6667            virtual void aimAtPosition(const Vector3 &position);
    6768
     
    119120            Ogre::Real maxYaw_; //!< The maxmium yaw the turret can have (on one side).
    120121            float rotationThrust_;  //!< The velocity the turret rotates with.
     122            Ogre::RaySceneQuery* rayTest_; //!< Used to perform a raytest, currently unused @see isInRange
    121123
    122124    };
Note: See TracChangeset for help on using the changeset viewer.