]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix issues with FL2VEC
authorSamual Lenks <samual@xonotic.org>
Fri, 27 Dec 2013 01:28:13 +0000 (20:28 -0500)
committerSamual Lenks <samual@xonotic.org>
Fri, 27 Dec 2013 01:28:13 +0000 (20:28 -0500)
qcsrc/client/View.qc
qcsrc/common/util.qh

index 49cf1d38c7a8ba7d0bf204e122374bdb9a4cb4cc..89b84e370dc45df100c70fb83f1878174fa25e05 100644 (file)
@@ -566,7 +566,6 @@ void CSQC_UpdateView(float w, float h)
        if(autocvar_cl_orthoview)
        {
                #define ORTHO_ACCURACY 512 // x^2 resolution accuracy for evaluating fov scaling and distance
-               #define FL2VEC(x,y,z) (('1 0 0' * x) + ('0 1 0' * y) + ('0 0 1' * z))
 
                ov_worldmin = mi_picmin;
                ov_worldmax = mi_picmax;
index a9f9095c7a40492e6615258364cc0ca059c08620..184cdec34ccf0c4403a4f5648d1c4898fa3c4583 100644 (file)
@@ -430,3 +430,6 @@ void dedicated_print(string input);
 #define CNT_ROUNDSTART 6
 float Announcer_PickNumber(float type, float num);
 #endif
+
+// TODO: Replace this with new gmqcc syntax when available
+#define FL2VEC(x,y,z) ((eX * (x)) + (eY * (y)) + (eZ * (z)))