mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
Fixed outerproduct ticket #150
This commit is contained in:
parent
369e929910
commit
d26c9df71d
@ -135,8 +135,8 @@ namespace glm
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
GLM_FUNC_QUALIFIER detail::tmat2x4<T> outerProduct
|
GLM_FUNC_QUALIFIER detail::tmat2x4<T> outerProduct
|
||||||
(
|
(
|
||||||
detail::tvec2<T> const & c,
|
detail::tvec4<T> const & c,
|
||||||
detail::tvec4<T> const & r
|
detail::tvec2<T> const & r
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
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");
|
||||||
@ -156,8 +156,8 @@ namespace glm
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
GLM_FUNC_QUALIFIER detail::tmat4x2<T> outerProduct
|
GLM_FUNC_QUALIFIER detail::tmat4x2<T> outerProduct
|
||||||
(
|
(
|
||||||
detail::tvec4<T> const & c,
|
detail::tvec2<T> const & c,
|
||||||
detail::tvec2<T> const & r
|
detail::tvec4<T> const & r
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
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");
|
||||||
|
Loading…
Reference in New Issue
Block a user