]> icculus.org git repositories - divverent/nexuiz.git/commit - data/qcsrc/common/util.qh
work around vectoangles weirdness by only portaling angles from -89 to +89
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 6 Sep 2008 14:55:01 +0000 (14:55 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 6 Sep 2008 14:55:01 +0000 (14:55 +0000)
commitb1da6e0cdc132ada908f4b129f9d830b0bb7b4b5
tree0e2e29d6a68968f1312ee2a3667a466bb8859411
parent6d00474c9761a2fd8b490bd95d524693283e5517
work around vectoangles weirdness by only portaling angles from -89 to +89
problem is that straight-up and straight-down angles cannot be uniquely specified, and portals sometimes WANT to make the player come out upside down. This avoids the problem of interpreting the non-unique angles right ALMOST... maybe I find a better idea later

git-svn-id: svn://svn.icculus.org/nexuiz/trunk@4375 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
data/qcsrc/common/util.qc
data/qcsrc/common/util.qh
data/qcsrc/server/portals.qc