Planeshift
Public Member Functions | Public Attributes

psVelocity Struct Reference

An entity's translational and angular velocity. More...

#include <psmovement.h>

List of all members.

Public Member Functions

psVelocityoperator*= (const psVelocity &v)
psVelocityoperator+= (const psVelocity &v)
psVelocityoperator-= (const psVelocity &v)
psVelocityoperator/= (const psVelocity &v)
psVelocityoperator= (const psVelocity &v)
 psVelocity ()
 psVelocity (csVector3 m, csVector3 r)

Public Attributes

csVector3 move
 Translational velocity.
csVector3 rotate
 Angular velocity.

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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)

Member Data Documentation

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.


The documentation for this struct was generated from the following file: