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

Public Member Functions

 Impulse (WorldObject *worldObject, Voxel *voxel, const glm::vec3 &speed, float mass, const glm::vec3 &normal)
 
WorldObject * worldObject ()
 
const WorldObject * worldObject () const
 
Voxel * voxel ()
 
const Voxel * voxel () const
 
const glm::vec3 & speed () const
 
float mass () const
 
const glm::vec3 & normal () const
 
void add (const Impulse &impulse)
 

Protected Attributes

WorldObject * m_worldObject
 
Voxel * m_voxel
 
glm::vec3 m_speed
 
float m_mass
 
glm::vec3 m_normal
 

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