mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Enable vis calculation.
One nice thing about this project: I now KNOW that efrags works the way I wanted it to: all those torches are now toggleable via r_novis :)
This commit is contained in:
parent
d0a0440056
commit
fea7acd871
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,8 @@ R_SetupFrame (void)
|
|||
|
||||
VectorCopy (r_refdef.vieworg, r_origin);
|
||||
AngleVectors (r_refdef.viewangles, vpn, vright, vup);
|
||||
|
||||
r_viewleaf = Mod_PointInLeaf (r_origin, r_worldentity.model);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -307,6 +309,7 @@ R_RenderView (void)
|
|||
{
|
||||
R_SetupFrame ();
|
||||
R_SetupView ();
|
||||
R_MarkLeaves ();
|
||||
R_DrawWorld ();
|
||||
R_RenderEntities ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue