]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
document MAKE_VECTORS
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 16 Nov 2018 09:59:59 +0000 (10:59 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 16 Nov 2018 09:59:59 +0000 (10:59 +0100)
qcsrc/lib/deglobalization.qh

index 21f303a3e0bea19fd89393603f81f4ccd306ea9c..88999805749df5edccb27b3b720ac4467cbe25f7 100644 (file)
@@ -37,6 +37,7 @@ STATIC_INIT(globals) {
 
 /// Same as the `makevectors` builtin but uses the provided locals instead of the `v_*` globals.
 /// Always use this instead of raw `makevectors` to make the data flow clear.
+/// Note that you might prefer `FIXED_MAKE_VECTORS` for new code.
 #define MAKE_VECTORS(angles, forward, right, up) MACRO_BEGIN { \
        _makevectors_hidden(angles); \
        GET_V_GLOBALS(forward, right, up); \