float x, y, q, d;
vector ringorigin, ringsize, t;
ringorigin = '0.5 0 0' * vid_conwidth + '0 0.5 0' * vid_conheight;
- ringsize = 64 * '1 1 0'; // testing only
+ ringsize = 64 * '1 -1 0'; // testing only
// TODO send from server
float maxvel, minvel, curvel;
R_PolygonVertex(v, t, '1 1 1', 1);
v = ringorigin; t = '0.5 0.5 0';
- v_x -= 0.5 * ringsize_y; t -= '0.5 0.5 0';
+ v_x -= 0.5 * ringsize_x; t -= '0.5 0.5 0';
R_PolygonVertex(v, t, '1 1 1', 1);
v = ringorigin; t = '0.5 0.5 0';
R_PolygonVertex(v, t, '1 1 1', 1);
v = ringorigin; t = '0.5 0.5 0';
- v_x -= 0.5 * ringsize_y; t -= '0.5 0.5 0';
+ v_x -= 0.5 * ringsize_x; t -= '0.5 0.5 0';
R_PolygonVertex(v, t, '1 1 1', 1);
R_EndPolygon();
R_BeginPolygon("gfx/nex_ring.tga", DRAWFLAG_ADDITIVE);
R_PolygonVertex(v, t, '1 1 1', 1);
v = ringorigin; t = '0.5 0.5 0';
- v_x -= 0.5 * ringsize_y; t -= '0.5 0.5 0';
+ v_x -= 0.5 * ringsize_x; t -= '0.5 0.5 0';
R_PolygonVertex(v, t, '1 1 1', 1);
v = ringorigin; t = '0.5 0.5 0';
R_PolygonVertex(v, t, '1 1 1', 1);
v = ringorigin; t = '0.5 0.5 0';
- v_x -= 0.5 * ringsize_y; t -= '0.5 0.5 0';
+ v_x -= 0.5 * ringsize_x; t -= '0.5 0.5 0';
R_PolygonVertex(v, t, '1 1 1', 1);
R_EndPolygon();
R_PolygonVertex(v, t, '1 1 1', 1);
v = ringorigin; t = '0.5 0.5 0';
- v_x += 0.5 * ringsize_y; t += '0.5 0.5 0';
+ v_x += 0.5 * ringsize_x; t += '0.5 0.5 0';
R_PolygonVertex(v, t, '1 1 1', 1);
v = ringorigin; t = '0.5 0.5 0';