Ndk/CameraComponent: Added [Get/Set]Layer method

Former-commit-id: 51ee045d4eaa7c7274181129ced56d861def3b8e
This commit is contained in:
Lynix
2015-05-06 22:51:31 +02:00
parent 04d864e171
commit b84a1f0663
2 changed files with 20 additions and 5 deletions

View File

@@ -70,6 +70,11 @@ namespace Ndk
return m_frustum;
}
inline unsigned int CameraComponent::GetLayer() const
{
return m_layer;
}
inline const NzMatrix4f& CameraComponent::GetProjectionMatrix() const
{
EnsureProjectionMatrixUpdate();