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