mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
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)"
This commit is contained in:
parent
ac21d7bdad
commit
386357f612
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user