libpsys
diff src/psys_gl.c @ 1:874a942853ad
foobar
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Sat, 24 Sep 2011 20:44:42 +0300 |
parents | 1c8eb90a6989 |
children | 6e5342a2529a |
line diff
1.1 --- a/src/psys_gl.c Sat Sep 24 07:22:07 2011 +0300 1.2 +++ b/src/psys_gl.c Sat Sep 24 20:44:42 2011 +0300 1.3 @@ -10,6 +10,15 @@ 1.4 { 1.5 float xform[16]; 1.6 1.7 + vec3_t pos = psys_get_pos(em); 1.8 + 1.9 + glPointSize(5.0); 1.10 + glBegin(GL_POINTS); 1.11 + glColor3f(1, 0, 0); 1.12 + glVertex3f(pos.x, pos.y, pos.z); 1.13 + glColor3f(1, 1, 1); 1.14 + glEnd(); 1.15 + 1.16 glMatrixMode(GL_MODELVIEW); 1.17 glPushMatrix(); 1.18