#include <part_buf.h>
Public Member Functions | |
| bool | operator!= (const NewParticleStruct &p) |
| bool | operator== (const NewParticleStruct &p) |
Public Attributes | |
| Vector3 | Position |
| Vector3 | Velocity |
| unsigned int | TimeStamp |
| unsigned char | GroupID |
NewParticleStruct: structure for passing new particles from the particle emitter to the particle buffer. Since the emitter always continues emitting (unless stopped) but the buffer may not update for long periods, the emitter may emit more particles than the buffer can contain. However, in this case the older particles can be ignored. Therefore ParticleBufferClass contains a circular buffer of NewParticleStructs, and new ones overwrite the oldest in the case of overflows.
Definition at line 60 of file part_buf.h.
|
inline |
Definition at line 68 of file part_buf.h.
|
inline |
Definition at line 72 of file part_buf.h.
| unsigned char NewParticleStruct::GroupID |
Definition at line 65 of file part_buf.h.
| Vector3 NewParticleStruct::Position |
Definition at line 62 of file part_buf.h.
| unsigned int NewParticleStruct::TimeStamp |
Definition at line 64 of file part_buf.h.
| Vector3 NewParticleStruct::Velocity |
Definition at line 63 of file part_buf.h.