Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
Aimer (WorldObject *worldObject) | |
void | update (float deltaSec) |
glm::vec3 | aim (const Ray &ray) |
void | setWorldObject (WorldObject *worldObject) |
Protected Member Functions | |
glm::vec3 | nearestTarget (const std::unordered_set< Voxel * > &voxels, const glm::vec3 &origin) const |
float | distanceTo (Voxel *voxel, const glm::vec3 &origin) const |
glm::vec3 | infinity (const Ray &ray) const |
Protected Attributes | |
WorldObject * | m_worldObject |
Property< float > | m_infityAimDistance |
Property< float > | m_infityAimInterpolation |
float | m_lastDistance |