mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
Merge branch '0.9.7'
This commit is contained in:
commit
0698e6537a
@ -6,7 +6,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)
|
||||
@ -27,7 +27,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…
Reference in New Issue
Block a user