|
| | RectangularPrism (GLuint length, GLuint width, GLuint height, Vector3Gf postion, Vector3Gf velocity, GLfloat mass, Quaternion orientation, Vector3Gf angular_velocity, Material material) |
| |
| void | OnUpdateFromBuffers () |
| |
| Eigen::Matrix< GLfloat, 4, 4 > | GetModelMatrix () |
| |
| void | SetModelMatrix (Eigen::Matrix< GLfloat, 4, 4 > model) |
| |
| Mesh | GetMesh () |
| |
| Material | GetMaterial () |
| |
| Eigen::Matrix< GLfloat, 3, 3 > | GetNormalMatrix () |
| |
| GLint | GetId () const |
| |
| Vector3Gf | GetPosition () |
| |
| void | SetPosition (Vector3Gf x) |
| |
| void | SetNextPosition (Vector3Gf x) |
| |
| Vector3Gf | GetNextPosition () |
| |
| Vector3Gf | GetVelocity () |
| |
| void | SetVelocity (Vector3Gf v) |
| |
| void | SetNextVelocity (Vector3Gf v) |
| |
| Vector3Gf | GetNextVelocity () |
| |
| GLfloat | GetMass () |
| |
| Quaternion | GetOrientation () |
| |
| void | SetOrientation (Quaternion q) |
| |
| Quaternion | GetNextOrientation () |
| |
| void | SetNextOrientation (Quaternion q) |
| |
| Vector3Gf | GetAngularVelocity () |
| |
| void | SetAngularVelocity (Vector3Gf w) |
| |
| Vector3Gf | GetNextAngularVelocity () |
| |
| void | SetNextAngularVelocity (Vector3Gf w) |
| |
| void | UpdateFromBuffers () |
| |
| RectangularPrism::RectangularPrism |
( |
GLuint |
length, |
|
|
GLuint |
width, |
|
|
GLuint |
height, |
|
|
Vector3Gf |
postion, |
|
|
Vector3Gf |
velocity, |
|
|
GLfloat |
mass, |
|
|
Quaternion |
orientation, |
|
|
Vector3Gf |
angular_velocity, |
|
|
Material |
material |
|
) |
| |
Constructs a Rectangular Prism
- Parameters
-
| length | x dimension of the Rectangular Prism |
| width | y dimension of the Rectangular Prism |
| height | z dimension of the Rectangular Prism |
| position | position of the Rectangular Prism |
| velocity | velocity of the Rectangular Prism |
| mass | mass of the Rectangular Prism |
| orientation | orientation of the Rectangular Prism |
| angular_velocity | angular velocity of the Rectangular Prism |
| material | material properties for the Rectangular Prism |
| void RectangularPrism::OnUpdateFromBuffers |
( |
| ) |
|
|
virtual |
Loads the next position and velocity values from their respective buffers
Reimplemented from PhysicsEntity.
The documentation for this class was generated from the following files: