From: Rudolf Polzer Date: Thu, 6 Sep 2012 17:52:57 +0000 (+0200) Subject: the obvious ones too X-Git-Tag: xonotic-v0.7.0~252 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cf3154cdca786e184254731174e309b5038dfa3b;p=xonotic%2Fxonotic-data.pk3dir.git the obvious ones too --- diff --git a/qcsrc/warpzonelib/common.qh b/qcsrc/warpzonelib/common.qh index 315e0c441..81a04e312 100644 --- a/qcsrc/warpzonelib/common.qh +++ b/qcsrc/warpzonelib/common.qh @@ -72,12 +72,12 @@ void WarpZone_RefSys_AddInverseTransform(entity me, vector t, vector s); // me.R void WarpZone_RefSys_AddIncrementally(entity me, entity ref); // me.R := ref.R me.Rref^-1 me.R; me.Rref := ref.R void WarpZone_RefSys_BeginAddingIncrementally(entity me, entity ref); // me.Rref := ref.R -vector WarpZone_RefSys_TransformOrigin(entity from, entity to, vector org); -vector WarpZone_RefSys_TransformVelocity(entity from, entity to, vector vel); -vector WarpZone_RefSys_TransformAngles(entity from, entity to, vector ang); -vector WarpZone_RefSys_TransformVAngles(entity from, entity to, vector ang); -void WarpZone_RefSys_Copy(entity me, entity from); -entity WarpZone_RefSys_SpawnSameRefSys(entity me); +vector WarpZone_RefSys_TransformOrigin(entity from, entity to, vector org); // return to.R from.R^-1 org +vector WarpZone_RefSys_TransformVelocity(entity from, entity to, vector vel); // return to.R from.R^-1 vel +vector WarpZone_RefSys_TransformAngles(entity from, entity to, vector ang); // return to.R from.R^-1 ang +vector WarpZone_RefSys_TransformVAngles(entity from, entity to, vector ang); // return to.R from.R^-1 ang +void WarpZone_RefSys_Copy(entity me, entity from); // to.R := from.R +entity WarpZone_RefSys_SpawnSameRefSys(entity me); // spawn().R = me.R #ifndef BITCLR # define BITCLR(a,b) ((a) - ((a) & (b)))