RavEngine
Loading...
Searching...
No Matches
Snippets::Camera Class Reference

Public Member Functions

 Camera (const physx::PxVec3 &eye, const physx::PxVec3 &dir)
 
void handleMouse (int button, int state, int x, int y)
 
bool handleKey (unsigned char key, int x, int y, float speed=0.5f)
 
void handleMotion (int x, int y)
 
void handleAnalogMove (float x, float y)
 
physx::PxVec3 getEye () const
 
physx::PxVec3 getDir () const
 
physx::PxTransform getTransform () const
 
void setPose (const physx::PxVec3 &eye, const physx::PxVec3 &dir)
 
void setSpeed (float speed)
 

The documentation for this class was generated from the following files: