47 #include "../gtx/quaternion.hpp" 
   49 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 
   50 #       pragma message("GLM: GLM_GTX_norm extension included") 
   66         template <
typename genType>
 
   67         GLM_FUNC_DECL 
typename genType::value_type 
length2(
 
   79         template <
typename genType>
 
   80         GLM_FUNC_DECL 
typename genType::value_type 
distance2(
 
   86         template <
typename T, precision P>
 
   88                 tvec3<T, P> 
const & x,
 
   89                 tvec3<T, P> 
const & y);
 
   93         template <
typename T, precision P>
 
   95                 tvec3<T, P> 
const & v);
 
   99         template <
typename T, precision P>
 
  101                 tvec3<T, P> 
const & x,
 
  102                 tvec3<T, P> 
const & y);
 
  106         template <
typename T, precision P>
 
  108                 tvec3<T, P> 
const & x);
 
  112         template <
typename T, precision P>
 
  114                 tvec3<T, P> 
const & x,
 
  115                 tvec3<T, P> 
const & y,
 
  120         template <
typename T, precision P>
 
  122                 tvec3<T, P> 
const & x,
 
GLM_FUNC_DECL T lxNorm(tvec3< T, P > const &x, unsigned int Depth)
Returns the L norm of v. 
GLM_FUNC_DECL genType::value_type distance2(genType const &p0, genType const &p1)
Returns the squared distance between p0 and p1, i.e., length2(p0 - p1). 
GLM_FUNC_DECL T l2Norm(tvec3< T, P > const &x)
Returns the L2 norm of v. 
GLM_FUNC_DECL T l1Norm(tvec3< T, P > const &v)
Returns the L1 norm of v. 
GLM_FUNC_DECL genType::value_type length2(genType const &x)
Returns the squared length of x.