OpenGL is moving to matricies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@447 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
6a2482ad17
commit
74a54591e1
1 changed files with 2 additions and 0 deletions
|
@ -263,6 +263,8 @@ void SWR_NewMap (void)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
memset (&r_worldentity, 0, sizeof(r_worldentity));
|
memset (&r_worldentity, 0, sizeof(r_worldentity));
|
||||||
|
AngleVectors(r_worldentity.angles, r_worldentity.axis[0], r_worldentity.axis[1], r_worldentity.axis[2]);
|
||||||
|
VectorInverse(r_worldentity.axis[1]);
|
||||||
r_worldentity.model = cl.worldmodel;
|
r_worldentity.model = cl.worldmodel;
|
||||||
|
|
||||||
// clear out efrags in case the level hasn't been reloaded
|
// clear out efrags in case the level hasn't been reloaded
|
||||||
|
|
Loading…
Reference in a new issue