From: Samual Lenks Date: Fri, 27 Dec 2013 01:28:13 +0000 (-0500) Subject: Fix issues with FL2VEC X-Git-Tag: xonotic-v0.8.0~247^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=23a69889eeb1b2ee89cb93a405b9ec08180aafa9;p=xonotic%2Fxonotic-data.pk3dir.git Fix issues with FL2VEC --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 49cf1d38c..89b84e370 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -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; diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index a9f9095c7..184cdec34 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -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)))