|
This is a set of particles baby.
|
Methods
|
|
|
|
|
|
Display
|
Display ( self )
A default display. Which clears the color buffer and depth buffer.
|
|
|
DisplayStateBegin
|
DisplayStateBegin ( self )
|
|
|
DisplayStateEnd
|
DisplayStateEnd ( self )
|
|
|
InitParticles
|
InitParticles ( self )
|
|
|
Load
|
Load (
self,
with_tex=None,
file_name=None,
)
with_tex can be an opengl texture.
|
|
|
LoadImagePng
|
LoadImagePng ( self, filename )
|
|
|
MakeTexture
|
MakeTexture ( self )
return
|
|
|
Update
|
Update ( self, elapsed_time )
TODO:
|
|
|
__init__
|
__init__ ( self, num_particles )
|
|
|
_debug
|
_debug (
self,
s,
x,
)
|
|