From 74a54591e1f8ef8b11ec13a1b8701c61dedf940b Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 17 Nov 2004 17:53:50 +0000 Subject: [PATCH] OpenGL is moving to matricies. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@447 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/sw/r_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/sw/r_main.c b/engine/sw/r_main.c index b34fdcffa..b37c431e9 100644 --- a/engine/sw/r_main.c +++ b/engine/sw/r_main.c @@ -263,6 +263,8 @@ void SWR_NewMap (void) int i; 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; // clear out efrags in case the level hasn't been reloaded