Browse Source

Merge pull request #365 from dustin-biser/patch-1

Fixed GTX_norm documentation #365
Christophe R. 10 năm trước cách đây
mục cha
commit
5eef9a648e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      glm/gtx/norm.hpp

+ 2 - 2
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 <typename T>
 	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 <typename genType>
 	GLM_FUNC_DECL typename genType::value_type distance2(