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)
 
WorldObjectworldObject ()
 
const WorldObjectworldObject () const
 
Voxelvoxel ()
 
const Voxelvoxel () const
 
const glm::vec3 & speed () const
 
float mass () const
 
const glm::vec3 & normal () const
 
void add (const Impulse &impulse)
 

Protected Attributes

WorldObjectm_worldObject
 
Voxelm_voxel
 
glm::vec3 m_speed
 
float m_mass
 
glm::vec3 m_normal
 

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