Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

particlesystem.h File Reference

Particle system container. More...

#include <lescegra/sg/group.h>
#include <lescegra/particle/particle.h>
#include <lescegra/util/list.h>

Include dependency graph for particlesystem.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  LsgParticleSystem
 Particle system container. More...


Defines

#define LSG_PARTICLESYSTEM_H   1
#define LsgParticleSystem_display(self)   LsgGroup_display(&(self)->super)
#define LsgParticleSystem_clean(self)   LsgGroup_clean(&(self)->super)

Functions

LsgParticleSystemLsgParticleSystem_create (void)
void LsgParticleSystem_init (LsgParticleSystem *self)
void LsgParticleSystem_update (LsgParticleSystem *self, float now)
void LsgParticleSystem_destroy (LsgParticleSystem *self)


Detailed Description

Particle system container.


Define Documentation

#define LsgParticleSystem_display self   )     LsgGroup_display(&(self)->super)
 

Display the particle system. Reuse parent implementation.

#define LsgParticleSystem_clean self   )     LsgGroup_clean(&(self)->super)
 

Clean the particle system. Reuse parant implementation.


Function Documentation

LsgParticleSystem* LsgParticleSystem_create void   ) 
 

Allocate and initialize a new LsgParticleSystem instance.

void LsgParticleSystem_init LsgParticleSystem self  ) 
 

Constructor for LsgParticleSystem. Create an initially empty particle system.

Parameters:
self The instance variable

void LsgParticleSystem_update LsgParticleSystem self,
float  now
 

Update the particle system by updating all containd particles and running all modifiers update methods.

Parameters:
self The instance variable
now The current time

void LsgParticleSystem_destroy LsgParticleSystem self  ) 
 

Destroy the particle system.

Parameters:
self The instance variable


(c) 2003, by Enno Cramer
generated on 9 Jul 2003
lescegra - doxygen