Fixed outerproduct ticket #150

This commit is contained in:
Christophe Riccio 2011-11-22 16:08:21 +00:00
parent 369e929910
commit d26c9df71d

View File

@ -135,8 +135,8 @@ namespace glm
template <typename T>
GLM_FUNC_QUALIFIER detail::tmat2x4<T> outerProduct
(
detail::tvec2<T> const & c,
detail::tvec4<T> const & r
detail::tvec4<T> const & c,
detail::tvec2<T> const & r
)
{
GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");
@ -156,8 +156,8 @@ namespace glm
template <typename T>
GLM_FUNC_QUALIFIER detail::tmat4x2<T> outerProduct
(
detail::tvec4<T> const & c,
detail::tvec2<T> const & r
detail::tvec2<T> const & c,
detail::tvec4<T> const & r
)
{
GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");