diff --git a/Sparky-core/src/sp/maths/mat4.cpp b/Sparky-core/src/sp/maths/mat4.cpp index 021d6eb7..5c85f31f 100644 --- a/Sparky-core/src/sp/maths/mat4.cpp +++ b/Sparky-core/src/sp/maths/mat4.cpp @@ -1,4 +1,4 @@ -#include "sp/sp.h" +#include "sp/sp.h" #include "mat4.h" #include @@ -245,7 +245,7 @@ namespace sp { namespace maths { mat4 mat4::Perspective(float fov, float aspectRatio, float near, float far) { - mat4 result(1.0f); + mat4 result(0.0f); float q = 1.0f / tan(toRadians(0.5f * fov)); float a = q / aspectRatio; @@ -388,4 +388,4 @@ namespace sp { namespace maths { return result.str(); } -} } \ No newline at end of file +} }