|
@@ -10,7 +10,8 @@
|
|
|
#ifndef glm_core_func_geometric
|
|
#ifndef glm_core_func_geometric
|
|
|
#define glm_core_func_geometric
|
|
#define glm_core_func_geometric
|
|
|
|
|
|
|
|
-namespace glm
|
|
|
|
|
|
|
+namespace glm{
|
|
|
|
|
+namespace core
|
|
|
{
|
|
{
|
|
|
/// \addtogroup core_funcs
|
|
/// \addtogroup core_funcs
|
|
|
/// @{
|
|
/// @{
|
|
@@ -19,9 +20,9 @@ namespace glm
|
|
|
//!
|
|
//!
|
|
|
//! \li <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/length.xml">GLSL length man page</a>
|
|
//! \li <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/length.xml">GLSL length man page</a>
|
|
|
//! \li GLSL 1.30.08 specification, section 8.4
|
|
//! \li GLSL 1.30.08 specification, section 8.4
|
|
|
- //template <typename genType>
|
|
|
|
|
- //typename genType::value_type length(
|
|
|
|
|
- // genType const & x);
|
|
|
|
|
|
|
+ template <typename genType>
|
|
|
|
|
+ typename genType::value_type length(
|
|
|
|
|
+ genType const & x);
|
|
|
|
|
|
|
|
//! Returns the distance betwwen p0 and p1, i.e., length(p0 - p1).
|
|
//! Returns the distance betwwen p0 and p1, i.e., length(p0 - p1).
|
|
|
//!
|
|
//!
|
|
@@ -91,6 +92,7 @@ namespace glm
|
|
|
typename genType::value_type const & eta);
|
|
typename genType::value_type const & eta);
|
|
|
|
|
|
|
|
/// @}
|
|
/// @}
|
|
|
|
|
+}//namespace core
|
|
|
}//namespace glm
|
|
}//namespace glm
|
|
|
|
|
|
|
|
#include "func_geometric.inl"
|
|
#include "func_geometric.inl"
|