]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
comment before somebody gets the wrong idea
authorMartin Taibr <taibr.martin@gmail.com>
Wed, 14 Nov 2018 18:21:13 +0000 (19:21 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Wed, 14 Nov 2018 18:21:13 +0000 (19:21 +0100)
qcsrc/lib/deglobalization.qh

index 96efec5fb7338a281b81d7fc0024a83ffa0c7fbb..73c92fc03fd2055d4e12da9dd037c3d4159c1319 100644 (file)
@@ -18,6 +18,7 @@
 #define NEW_VECS_3(forward, right, up) vector forward = '0 0 0'; vector right = '0 0 0'; vector up = '0 0 0';
 #define NEW_VECS_4(forward, right, up, origin) NEW_VECS_3(forward, right, up); vector origin = '0 0 0';
 
+// convenience for deglobalized code - don't use these just to hide that globals are still used
 #define CLEAR_V_GLOBALS() v_forward = VEC_NAN; v_right = VEC_NAN; v_up = VEC_NAN;
 #define GET_V_GLOBALS(forward, right, up) forward = v_forward; right = v_right; up = v_up;
 #define SET_V_GLOBALS(forward, right, up) v_forward = forward; v_right = right; v_up = up;