mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Merge branch '0.9.2' into 0.9.3
This commit is contained in:
commit
e03c9687d8
@ -74,7 +74,7 @@ namespace glm
|
|||||||
GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");
|
GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");
|
||||||
|
|
||||||
detail::tmat3x3<T> m(detail::tmat3x3<T>::null);
|
detail::tmat3x3<T> m(detail::tmat3x3<T>::null);
|
||||||
for(typename detail::tmat3x3<T>::size_type i = 0; i < detail::tmat3x3<T>::col_size(); ++i)
|
for(typename detail::tmat3x3<T>::size_type i(0); i < m.length(); ++i)
|
||||||
m[i] = c * r[i];
|
m[i] = c * r[i];
|
||||||
return m;
|
return m;
|
||||||
}
|
}
|
||||||
@ -89,7 +89,7 @@ namespace glm
|
|||||||
GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");
|
GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");
|
||||||
|
|
||||||
detail::tmat4x4<T> m(detail::tmat4x4<T>::null);
|
detail::tmat4x4<T> m(detail::tmat4x4<T>::null);
|
||||||
for(typename detail::tmat4x4<T>::size_type i = 0; i < detail::tmat4x4<T>::col_size(); ++i)
|
for(typename detail::tmat4x4<T>::size_type i(0); i < m.length(); ++i)
|
||||||
m[i] = c * r[i];
|
m[i] = c * r[i];
|
||||||
return m;
|
return m;
|
||||||
}
|
}
|
||||||
|
@ -48,6 +48,7 @@ GLM 0.9.2.8: 2011-12-XX
|
|||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
- Fixed modf implementation
|
- Fixed modf implementation
|
||||||
- Fixed step function accuracy
|
- Fixed step function accuracy
|
||||||
|
- Fixed outerProduct
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
GLM 0.9.3.A: 2011-11-11
|
GLM 0.9.3.A: 2011-11-11
|
||||||
|
Loading…
Reference in New Issue
Block a user