Planeshift
|
An entity's translational and angular velocity. More...
#include <psmovement.h>
Public Member Functions | |
psVelocity & | operator*= (const psVelocity &v) |
psVelocity & | operator+= (const psVelocity &v) |
psVelocity & | operator-= (const psVelocity &v) |
psVelocity & | operator/= (const psVelocity &v) |
psVelocity & | operator= (const psVelocity &v) |
psVelocity () | |
psVelocity (csVector3 m, csVector3 r) | |
Public Attributes | |
csVector3 | move |
Translational velocity. | |
csVector3 | rotate |
Angular velocity. |
An entity's translational and angular velocity.
Contains vectors for 3-dimensional movement and rotation. Operators perform componentwise computations.
Definition at line 36 of file psmovement.h.
psVelocity::psVelocity | ( | ) | [inline] |
Definition at line 38 of file psmovement.h.
psVelocity::psVelocity | ( | csVector3 | m, |
csVector3 | r | ||
) | [inline] |
Definition at line 39 of file psmovement.h.
psVelocity& psVelocity::operator*= | ( | const psVelocity & | v | ) |
psVelocity& psVelocity::operator+= | ( | const psVelocity & | v | ) |
psVelocity& psVelocity::operator-= | ( | const psVelocity & | v | ) |
psVelocity& psVelocity::operator/= | ( | const psVelocity & | v | ) |
psVelocity& psVelocity::operator= | ( | const psVelocity & | v | ) |
csVector3 psVelocity::move |
Translational velocity.
Definition at line 41 of file psmovement.h.
csVector3 psVelocity::rotate |
Angular velocity.
Definition at line 42 of file psmovement.h.