Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
CameraHead & | cameraHead () |
const CameraHead & | cameraHead () const |
void | followWorldObject (WorldObject *m_followWorldObject) |
void | update (float deltaSec) |
Public Member Functions inherited from InertiaFollower | |
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 | |
std::unique_ptr< CameraHead > | m_cameraHead |
std::unique_ptr < CameraFollowHelper > | m_followHelper |
Protected Attributes inherited from InertiaFollower | |
glm::vec3 | m_position |
float | m_directionalInertia |
glm::quat | m_orientation |
float | m_angularInertia |