Browse Source

Fixed build

Christophe Riccio 9 years ago
parent
commit
33b9dad843
1 changed files with 2 additions and 2 deletions
  1. 2 2
      glm/gtx/norm.inl

+ 2 - 2
glm/gtx/norm.inl

@@ -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>