Gel2D - The free/open source game creation suite

Public Member Functions | Public Attributes
gel::GelParticle Struct Reference

Particle data structure. More...

#include <gelParticle.h>

List of all members.

Public Member Functions

 GelParticle ()
 Default constructor.

Public Attributes

Gel2dVec pos
 Position.
Gel2dVec size
 Size.
Gel2dVec sizeDelta
 Size delta.
float rot
 Rotation.
float rotDelta
 Rotation delta.
Gel2dVec vel
 Velocity.
GelColor col
 Color.
GelColor colDelta
 Color delta.
float gravity
 Gravity.
float radialAccel
 Radial acceleration.
float tangetAccel
 Tangetial acceleration.
float life
 Life span.
float age
 Current age.

Detailed Description

Particle data structure.


Constructor & Destructor Documentation

gel::GelParticle::GelParticle ( )

Default constructor.

Sets all data members to 0.


Member Data Documentation

Position.

Size.

Size delta.

Rotation.

Rotation delta.

Velocity.

Color.

Color delta.

Gravity.

Radial acceleration.

Currently not used

Tangetial acceleration.

Currently not used

Life span.

Current age.


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