diff --git a/src/Math/Vector3.h b/src/Math/Vector3.h index eaa60390b..5beb801ca 100644 --- a/src/Math/Vector3.h +++ b/src/Math/Vector3.h @@ -53,7 +53,7 @@ template class Vector3: public Vector<3, T> { * @endcode * @see yAxis(), zAxis(), xScale(), Matrix4::right() */ - constexpr static Vector3 xAxis(T length = T(1)) { return {length, T(), T()}; } + constexpr static Vector3 xAxis(T length = T(1)) { return {length, T(0), T(0)}; } /** * @brief %Vector in direction of Y axis (up) @@ -61,7 +61,7 @@ template class Vector3: public Vector<3, T> { * See xAxis() for more information. * @see yScale(), Matrix4::up() */ - constexpr static Vector3 yAxis(T length = T(1)) { return {T(), length, T()}; } + constexpr static Vector3 yAxis(T length = T(1)) { return {T(0), length, T(0)}; } /** * @brief %Vector in direction of Z axis (backward) @@ -69,7 +69,7 @@ template class Vector3: public Vector<3, T> { * See xAxis() for more information. * @see zScale(), Matrix4::backward() */ - constexpr static Vector3 zAxis(T length = T(1)) { return {T(), T(), length}; } + constexpr static Vector3 zAxis(T length = T(1)) { return {T(0), T(0), length}; } /** * @brief Scaling vector in direction of X axis (width)