mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-18 01:15:26 +00:00
Quickplay support
This commit is contained in:
@@ -200,6 +200,14 @@ void CCamera::LoadMatrices() const
|
||||
CGraphics::UpdateMVPBlock();
|
||||
}
|
||||
|
||||
CTransform4f CCamera::GetCameraTransform() const
|
||||
{
|
||||
CTransform4f Out = CTransform4f::skIdentity;
|
||||
Out.SetRotationFromAxes(mRightVector, mDirection, mUpVector);
|
||||
Out.SetTranslation(mPosition);
|
||||
return Out;
|
||||
}
|
||||
|
||||
// ************ PRIVATE ************
|
||||
void CCamera::ValidatePitch()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user