norm.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 #pragma once
00040 
00041 // Dependency:
00042 #include "../glm.hpp"
00043 #include "../gtx/quaternion.hpp"
00044 
00045 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
00046 #       pragma message("GLM: GLM_GTX_norm extension included")
00047 #endif
00048 
00049 namespace glm
00050 {
00053 
00056         template <typename T>
00057         GLM_FUNC_DECL T length2(
00058                 T const & x);
00059 
00062         template <typename genType>
00063         GLM_FUNC_DECL typename genType::value_type length2(
00064                 genType const & x);
00065                 
00068         template <typename T>
00069         GLM_FUNC_DECL T distance2(
00070                 T const & p0,
00071                 T const & p1);
00072                 
00075         template <typename genType>
00076         GLM_FUNC_DECL typename genType::value_type distance2(
00077                 genType const & p0,
00078                 genType const & p1);
00079 
00082         template <typename T, precision P>
00083         GLM_FUNC_DECL T l1Norm(
00084                 detail::tvec3<T, P> const & x,
00085                 detail::tvec3<T, P> const & y);
00086                 
00089         template <typename T, precision P>
00090         GLM_FUNC_DECL T l1Norm(
00091                 detail::tvec3<T, P> const & v);
00092                 
00095         template <typename T, precision P>
00096         GLM_FUNC_DECL T l2Norm(
00097                 detail::tvec3<T, P> const & x,
00098                 detail::tvec3<T, P> const & y);
00099                 
00102         template <typename T, precision P>
00103         GLM_FUNC_DECL T l2Norm(
00104                 detail::tvec3<T, P> const & x);
00105                 
00108         template <typename T, precision P>
00109         GLM_FUNC_DECL T lxNorm(
00110                 detail::tvec3<T, P> const & x,
00111                 detail::tvec3<T, P> const & y,
00112                 unsigned int Depth);
00113 
00116         template <typename T, precision P>
00117         GLM_FUNC_DECL T lxNorm(
00118                 detail::tvec3<T, P> const & x,
00119                 unsigned int Depth);
00120 
00122 }//namespace glm
00123 
00124 #include "norm.inl"


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:17