- move r_utility globals into r_viewpoint and r_viewwindow
- change r_utility functions to only work on FRenderViewpoint and FViewWindow
This commit is contained in:
parent
28aba3469d
commit
0c9014b984
75 changed files with 817 additions and 839 deletions
|
|
@ -776,12 +776,12 @@ void DStaticEventHandler::WorldTick()
|
|||
static FRenderEvent E_SetupRenderEvent()
|
||||
{
|
||||
FRenderEvent e;
|
||||
e.ViewPos = ::ViewPos;
|
||||
e.ViewAngle = ::ViewAngle;
|
||||
e.ViewPitch = ::ViewPitch;
|
||||
e.ViewRoll = ::ViewRoll;
|
||||
e.FracTic = ::r_TicFracF;
|
||||
e.Camera = ::camera;
|
||||
e.ViewPos = r_viewpoint.Pos;
|
||||
e.ViewAngle = r_viewpoint.Angles.Yaw;
|
||||
e.ViewPitch = r_viewpoint.Angles.Pitch;
|
||||
e.ViewRoll = r_viewpoint.Angles.Roll;
|
||||
e.FracTic = r_viewpoint.TicFrac;
|
||||
e.Camera = r_viewpoint.camera;
|
||||
return e;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue