Indentation
Former-commit-id: 17c357f50ffec9787e6c50dd638c85388fb344ca
This commit is contained in:
parent
e9554ad498
commit
4c63c53c44
|
|
@ -141,6 +141,7 @@ void NzCamera::SetFOV(float fov)
|
|||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
m_fov = fov;
|
||||
|
||||
m_frustumUpdated = false;
|
||||
|
|
@ -190,13 +191,14 @@ void NzCamera::SetViewport(const NzRecti& viewport)
|
|||
|
||||
void NzCamera::SetZFar(float zFar)
|
||||
{
|
||||
#if NAZARA_GRAPHICS_SAFE
|
||||
#if NAZARA_GRAPHICS_SAFE
|
||||
if (m_zNear > zFar)
|
||||
{
|
||||
NazaraError("zNear is greater than zFar.");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
m_zFar = zFar;
|
||||
|
||||
m_frustumUpdated = false;
|
||||
|
|
@ -212,6 +214,7 @@ void NzCamera::SetZNear(float zNear)
|
|||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
m_zNear = zNear;
|
||||
|
||||
m_frustumUpdated = false;
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ bool NzVertexDeclaration::IsTypeSupported(nzComponentType type)
|
|||
case nzComponentType_Int2:
|
||||
case nzComponentType_Int3:
|
||||
case nzComponentType_Int4:
|
||||
case nzComponentType_Quaternion:
|
||||
case nzComponentType_Quaternion:
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue