r5sdk/r5dev/game/client/viewrender.cpp
Marvin D d00aaa933d CRenderView init, GetWorldMatrixForView()
* Fixed .gitignore for root /game/
* Fixed bug in WalkVTable where it would offset self.
* General clean up: VAR -> CON, CON -> VAR
2022-11-10 00:53:12 +01:00

25 lines
520 B
C++

//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
//===========================================================================//
#include "core/stdafx.h"
#include "mathlib/vector.h"
#include "game/client/viewrender.h"
VMatrix* CViewRender::GetWorldMatrixForView(int8_t slot)
{
return CViewRender_GetWorldMatrixForView(this, slot);
}
const Vector3D& MainViewOrigin()
{
return (*g_vecRenderOrigin);
}
const QAngle& MainViewAngles()
{
return (*g_vecRenderAngles);
}