mirror of
https://github.com/g-truc/glm.git
synced 2025-04-06 22:15:00 +00:00
Fixed build
This commit is contained in:
parent
b6da1e45e8
commit
33b9dad843
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
namespace glm{
|
||||
namespace detail
|
||||
{
|
||||
template <template <typename, precision> class vecType, typename T, precision P, bool Aligned>
|
||||
template <template <typename, precision> class vecType, typename T, precision P>
|
||||
struct compute_length2
|
||||
{
|
||||
GLM_FUNC_QUALIFIER static T call(vecType<T, P> const & v)
|
||||
|
@ -54,7 +54,7 @@ namespace detail
|
|||
GLM_FUNC_QUALIFIER T length2(vecType<T, P> const & v)
|
||||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'length2' accepts only floating-point inputs");
|
||||
return detail::compute_length2<vecType, T, P, detail::is_aligned<P>::value>::call(v);
|
||||
return detail::compute_length2<vecType, T, P>::call(v);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Add table
Reference in a new issue