Added viewer-relative directions
Former-commit-id: 9d80744bd227689426b76df7e3c273de13424041
This commit is contained in:
@@ -80,6 +80,21 @@ const NzFrustumf& NzCamera::GetFrustum() const
|
||||
return m_frustum;
|
||||
}
|
||||
|
||||
NzVector3f NzCamera::GetGlobalForward() const
|
||||
{
|
||||
return NzVector3f::Forward();
|
||||
}
|
||||
|
||||
NzVector3f NzCamera::GetGlobalRight() const
|
||||
{
|
||||
return NzVector3f::Right();
|
||||
}
|
||||
|
||||
NzVector3f NzCamera::GetGlobalUp() const
|
||||
{
|
||||
return NzVector3f::Up();
|
||||
}
|
||||
|
||||
const NzMatrix4f& NzCamera::GetProjectionMatrix() const
|
||||
{
|
||||
if (!m_projectionMatrixUpdated)
|
||||
|
||||
Reference in New Issue
Block a user