From: Martin Taibr Date: Fri, 16 Nov 2018 09:59:59 +0000 (+0100) Subject: document MAKE_VECTORS X-Git-Tag: xonotic-v0.8.5~1258^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5f3fd912090c6369e5be3451f24fbef724264e06;p=xonotic%2Fxonotic-data.pk3dir.git document MAKE_VECTORS --- diff --git a/qcsrc/lib/deglobalization.qh b/qcsrc/lib/deglobalization.qh index 21f303a3e..889998057 100644 --- a/qcsrc/lib/deglobalization.qh +++ b/qcsrc/lib/deglobalization.qh @@ -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); \