From 386357f612acae9d2687dbf0e67f3ec25d90cc88 Mon Sep 17 00:00:00 2001 From: Dustin Biser Date: Wed, 22 Jul 2015 11:31:45 -0400 Subject: [PATCH] Update norm.hpp Fixed documentation typo for distance2 functions "Returns the squared distance between p0 and p1, i.e., length(p0 - p1)" changed to "Returns the squared distance between p0 and p1, i.e., length2(p0 - p1)" --- glm/gtx/norm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtx/norm.hpp b/glm/gtx/norm.hpp index d8fbf2c1..f1d8d1b2 100644 --- a/glm/gtx/norm.hpp +++ b/glm/gtx/norm.hpp @@ -67,14 +67,14 @@ namespace glm GLM_FUNC_DECL typename genType::value_type length2( genType const & x); - //! Returns the squared distance between p0 and p1, i.e., length(p0 - p1). + //! Returns the squared distance between p0 and p1, i.e., length2(p0 - p1). //! From GLM_GTX_norm extension. template GLM_FUNC_DECL T distance2( T const & p0, T const & p1); - //! Returns the squared distance between p0 and p1, i.e., length(p0 - p1). + //! Returns the squared distance between p0 and p1, i.e., length2(p0 - p1). //! From GLM_GTX_norm extension. template GLM_FUNC_DECL typename genType::value_type distance2(