mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-04 10:30:52 +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);
|
VectorCopy (r_refdef.vieworg, r_origin);
|
||||||
AngleVectors (r_refdef.viewangles, vpn, vright, vup);
|
AngleVectors (r_refdef.viewangles, vpn, vright, vup);
|
||||||
|
|
||||||
|
r_viewleaf = Mod_PointInLeaf (r_origin, r_worldentity.model);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -307,6 +309,7 @@ R_RenderView (void)
|
||||||
{
|
{
|
||||||
R_SetupFrame ();
|
R_SetupFrame ();
|
||||||
R_SetupView ();
|
R_SetupView ();
|
||||||
|
R_MarkLeaves ();
|
||||||
R_DrawWorld ();
|
R_DrawWorld ();
|
||||||
R_RenderEntities ();
|
R_RenderEntities ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue