diff --git a/src/Nazara/Graphics/Camera.cpp b/src/Nazara/Graphics/Camera.cpp index b32c9d96a..77b797123 100644 --- a/src/Nazara/Graphics/Camera.cpp +++ b/src/Nazara/Graphics/Camera.cpp @@ -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; diff --git a/src/Nazara/Utility/VertexDeclaration.cpp b/src/Nazara/Utility/VertexDeclaration.cpp index 37c9ef9bf..29c1bd463 100644 --- a/src/Nazara/Utility/VertexDeclaration.cpp +++ b/src/Nazara/Utility/VertexDeclaration.cpp @@ -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; }