hoa_video::private_video::ParticleVertex Class Reference

this is used in the vertex array for DrawArrays(). Every time the particle system is rendered, we need to iterate through all the particles in the system, and use the position, size, and rotation to generate 4 ParticleVertex's. This is pretty expensive, but unfortunately it's necessary since the positions change every frame. More...

#include <particle.h>

Collaboration diagram for hoa_video::private_video::ParticleVertex:

Collaboration graph
[legend]
List of all members.

Public Attributes

float _x
 position of 1 vertex of the particle's quad
float _y

Detailed Description

this is used in the vertex array for DrawArrays(). Every time the particle system is rendered, we need to iterate through all the particles in the system, and use the position, size, and rotation to generate 4 ParticleVertex's. This is pretty expensive, but unfortunately it's necessary since the positions change every frame.

***************************************************************************

Definition at line 46 of file particle.h.


Member Data Documentation

float hoa_video::private_video::ParticleVertex::_x

position of 1 vertex of the particle's quad

Definition at line 51 of file particle.h.

float hoa_video::private_video::ParticleVertex::_y

Definition at line 52 of file particle.h.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 23:16:52 2007 for Hero of Allacrost by  doxygen 1.5.1