mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
Keep selector position relative to controller
This commit is contained in:
parent
b5e1628dbf
commit
8939a4f959
1 changed files with 1 additions and 0 deletions
|
@ -2070,6 +2070,7 @@ void CG_DrawHolsteredWeapons( void )
|
||||||
|
|
||||||
AngleVectors(holsterAngles, holsterForward, holsterRight, holsterUp);
|
AngleVectors(holsterAngles, holsterForward, holsterRight, holsterUp);
|
||||||
|
|
||||||
|
VectorCopy(controllerOrigin, holsterOrigin);
|
||||||
VectorCopy(holsterOrigin, beamOrigin);
|
VectorCopy(holsterOrigin, beamOrigin);
|
||||||
VectorMA(holsterOrigin, ((DIST*2.0f)*frac), holsterForward, holsterOrigin);
|
VectorMA(holsterOrigin, ((DIST*2.0f)*frac), holsterForward, holsterOrigin);
|
||||||
VectorCopy(holsterOrigin, selectorOrigin);
|
VectorCopy(holsterOrigin, selectorOrigin);
|
||||||
|
|
Loading…
Reference in a new issue