libpsys

annotate src/psys_gl.h @ 20:0a53b22f7caf

the billboarding was wrong ...
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 18 Sep 2012 09:38:48 +0300
parents
children
rev   line source
nuclear@6 1 #ifndef PSYS_GL_H_
nuclear@6 2 #define PSYS_GL_H_
nuclear@6 3
nuclear@6 4 struct psys_particle;
nuclear@6 5 struct psys_emitter;
nuclear@6 6
nuclear@6 7 void psys_gl_draw_start(struct psys_emitter *em, void *cls);
nuclear@6 8 void psys_gl_draw(struct psys_emitter *em, struct psys_particle *p, void *cls);
nuclear@6 9 void psys_gl_draw_end(struct psys_emitter *em, void *cls);
nuclear@6 10
nuclear@6 11 unsigned int psys_gl_load_texture(const char *fname, void *cls);
nuclear@6 12 void psys_gl_unload_texture(unsigned int tex, void *cls);
nuclear@6 13
nuclear@6 14 #endif /* PSYS_GL_H_ */