Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
InertiaFollower Class Reference
Inheritance diagram for InertiaFollower:
[legend]

Public Member Functions

 InertiaFollower (float directionalInertia, float angularInertia)
 
const glm::vec3 & position () const
 
void setPosition (const glm::vec3 &position)
 
const glm::quat & orientation () const
 
void setOrientation (const glm::quat &orientation)
 
void follow (const glm::vec3 &targetPosition, const glm::quat &targetOrientation, float deltaSec)
 

Protected Attributes

glm::vec3 m_position
 
float m_directionalInertia
 
glm::quat m_orientation
 
float m_angularInertia
 

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