diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index db5baff6..b5279795 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -88,7 +88,7 @@ namespace detail { GLM_STATIC_ASSERT( std::numeric_limits::is_iec559 || - std::numeric_limits::is_signed && std::numeric_limits::is_integer, "'sign' only accept signed inputs"); + (std::numeric_limits::is_signed && std::numeric_limits::is_integer), "'sign' only accept signed inputs"); genFIType result; if(x > genFIType(0)) diff --git a/glm/detail/func_matrix.inl b/glm/detail/func_matrix.inl index f7fa92c4..fb5c3fd1 100644 --- a/glm/detail/func_matrix.inl +++ b/glm/detail/func_matrix.inl @@ -46,7 +46,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec2 const & c, detail::tvec2 const & r) { - detail::tmat2x2 m(detail::tmat2x2::null); + detail::tmat2x2 m(detail::tmat2x2::_null); m[0][0] = c[0] * r[0]; m[0][1] = c[1] * r[0]; m[1][0] = c[0] * r[1]; @@ -60,7 +60,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec3 const & c, detail::tvec3 const & r) { - detail::tmat3x3 m(detail::tmat3x3::null); + detail::tmat3x3 m(detail::tmat3x3::_null); for(length_t i(0); i < m.length(); ++i) m[i] = c * r[i]; return m; @@ -72,7 +72,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec4 const & c, detail::tvec4 const & r) { - detail::tmat4x4 m(detail::tmat4x4::null); + detail::tmat4x4 m(detail::tmat4x4::_null); for(length_t i(0); i < m.length(); ++i) m[i] = c * r[i]; return m; @@ -84,7 +84,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec3 const & c, detail::tvec2 const & r) { - detail::tmat2x3 m(detail::tmat2x3::null); + detail::tmat2x3 m(detail::tmat2x3::_null); m[0][0] = c.x * r.x; m[0][1] = c.y * r.x; m[0][2] = c.z * r.x; @@ -100,7 +100,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec2 const & c, detail::tvec3 const & r) { - detail::tmat3x2 m(detail::tmat3x2::null); + detail::tmat3x2 m(detail::tmat3x2::_null); m[0][0] = c.x * r.x; m[0][1] = c.y * r.x; m[1][0] = c.x * r.y; @@ -116,7 +116,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec4 const & c, detail::tvec2 const & r) { - detail::tmat2x4 m(detail::tmat2x4::null); + detail::tmat2x4 m(detail::tmat2x4::_null); m[0][0] = c.x * r.x; m[0][1] = c.y * r.x; m[0][2] = c.z * r.x; @@ -134,7 +134,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec2 const & c, detail::tvec4 const & r) { - detail::tmat4x2 m(detail::tmat4x2::null); + detail::tmat4x2 m(detail::tmat4x2::_null); m[0][0] = c.x * r.x; m[0][1] = c.y * r.x; m[1][0] = c.x * r.y; @@ -152,7 +152,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec4 const & c, detail::tvec3 const & r) { - detail::tmat3x4 m(detail::tmat3x4::null); + detail::tmat3x4 m(detail::tmat3x4::_null); m[0][0] = c.x * r.x; m[0][1] = c.y * r.x; m[0][2] = c.z * r.x; @@ -174,7 +174,7 @@ namespace detail { GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait::type call(detail::tvec3 const & c, detail::tvec4 const & r) { - detail::tmat4x3 m(detail::tmat4x3::null); + detail::tmat4x3 m(detail::tmat4x3::_null); m[0][0] = c.x * r.x; m[0][1] = c.y * r.x; m[0][2] = c.z * r.x; @@ -430,7 +430,7 @@ namespace detail return result; } - template