[nexuiz-commits] r6822 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun May 31 08:12:01 EDT 2009
Author: div0
Date: 2009-05-31 08:12:01 -0400 (Sun, 31 May 2009)
New Revision: 6822
Modified:
trunk/data/qcsrc/client/waypointsprites.qc
Log:
simplify waypointsprites code, assuming cs_*project are working
Modified: trunk/data/qcsrc/client/waypointsprites.qc
===================================================================
--- trunk/data/qcsrc/client/waypointsprites.qc 2009-05-31 10:58:06 UTC (rev 6821)
+++ trunk/data/qcsrc/client/waypointsprites.qc 2009-05-31 12:12:01 UTC (rev 6822)
@@ -132,11 +132,13 @@
float f1, f2;
// get the waypoint angle vector
+ /*
d_x = view_right * (self.origin - view_origin) * vid_conwidth / vid_width;
d_y = -view_up * (self.origin - view_origin) * vid_conheight / (vid_height * vid_pixelheight);
d_z = 0;
+ */
- //d = o - '0.5 0 0' * vid_conwidth - '0 0.5 0' * vid_conheight;
+ d = o - '0.5 0 0' * vid_conwidth - '0 0.5 0' * vid_conheight;
if(cvar("v_flipped"))
d_x = -d_x;
More information about the nexuiz-commits
mailing list