|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSRotated2DParticle Class Referencethis class adds tunable 2D rotation to a particle, it can be used by public multiple inheritance.
More...
#include <ps_particle_basic.h>
Inheritance diagram for NL3D::CPSRotated2DParticle:
List of all members.
Detailed Description
this class adds tunable 2D rotation to a particle, it can be used by public multiple inheritance.
Definition at line 288 of file ps_particle_basic.h.
Constructor & Destructor Documentation
NL3D::CPSRotated2DParticle::CPSRotated2DParticle |
( |
|
) |
|
|
|
===================================================================================.
Definition at line 258 of file ps_particle_basic.cpp. |
NL3D::CPSRotated2DParticle::~CPSRotated2DParticle |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NL3D::CPSRotated2DParticle::deleteAngle2DElement |
( |
uint32 |
index |
) |
[inline, protected] |
|
float NL3D::CPSRotated2DParticle::getAngle2D |
( |
void |
|
) |
const [inline] |
|
virtual CPSLocated* NL3D::CPSRotated2DParticle::getAngle2DOwner |
( |
void |
|
) |
[protected, pure virtual] |
|
const CPSAttribMaker<float>* NL3D::CPSRotated2DParticle::getAngle2DScheme |
( |
void |
|
) |
const [inline] |
|
CPSAttribMaker<float>* NL3D::CPSRotated2DParticle::getAngle2DScheme |
( |
void |
|
) |
[inline] |
|
const float* NL3D::CPSRotated2DParticle::getRotTable |
( |
void |
|
) |
[inline, static] |
|
|
this return a float table used to speed up rotations of face look at and the like for each angle, there are 4 float : 2 couple of float : a1, b1, a2, b2 a1 * I + b1 * K = up left corner, a2 * I + b2 * K = up right corner, This table must have been initialized with initRotTable.
Definition at line 331 of file ps_particle_basic.h.
References _InitializedRotTab, _RotTable, and nlassert. |
void NL3D::CPSRotated2DParticle::initRotTable |
( |
void |
|
) |
[static] |
|
void NL3D::CPSRotated2DParticle::newAngle2DElement |
( |
CPSLocated * |
emitterLocated, |
|
|
uint32 |
emitterIndex |
|
) |
[inline, protected] |
|
void NL3D::CPSRotated2DParticle::resizeAngle2D |
( |
uint32 |
size |
) |
[inline, protected] |
|
|
===================================================================================.
Definition at line 269 of file ps_particle_basic.cpp. |
void NL3D::CPSRotated2DParticle::setAngle2D |
( |
float |
angle |
) |
|
|
void NL3D::CPSRotated2DParticle::setAngle2DScheme |
( |
CPSAttribMaker< float > * |
scheme |
) |
|
|
Member Data Documentation
float NL3D::CPSRotated2DParticle::_Angle2D [protected]
|
|
CPSAttribMaker<float>* NL3D::CPSRotated2DParticle::_Angle2DScheme [protected]
|
|
bool NL3D::CPSRotated2DParticle::_InitializedRotTab = false [static, protected]
|
|
float NL3D::CPSRotated2DParticle::_RotTable [static, protected]
|
|
The documentation for this class was generated from the following files:
|
|