libpsys

view 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
line source
1 #ifndef PSYS_GL_H_
2 #define PSYS_GL_H_
4 struct psys_particle;
5 struct psys_emitter;
7 void psys_gl_draw_start(struct psys_emitter *em, void *cls);
8 void psys_gl_draw(struct psys_emitter *em, struct psys_particle *p, void *cls);
9 void psys_gl_draw_end(struct psys_emitter *em, void *cls);
11 unsigned int psys_gl_load_texture(const char *fname, void *cls);
12 void psys_gl_unload_texture(unsigned int tex, void *cls);
14 #endif /* PSYS_GL_H_ */