Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
app
android
jni
third-party
include
glm
gtx
vector_angle.hpp
Go to the documentation of this file.
1
40
#pragma once
41
42
// Dependency:
43
#include "../glm.hpp"
44
#include "../gtc/epsilon.hpp"
45
#include "../gtx/quaternion.hpp"
46
#include "../gtx/rotate_vector.hpp"
47
48
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
49
# pragma message("GLM: GLM_GTX_vector_angle extension included")
50
#endif
51
52
namespace
glm
53
{
56
60
template
<
typename
vecType>
61
GLM_FUNC_DECL
typename
vecType::value_type
angle
(
62
vecType
const
& x,
63
vecType
const
& y);
64
68
template
<
typename
T, precision P>
69
GLM_FUNC_DECL
T
orientedAngle
(
70
detail::tvec2<T, P>
const
& x,
71
detail::tvec2<T, P>
const
& y);
72
76
template
<
typename
T, precision P>
77
GLM_FUNC_DECL
T
orientedAngle
(
78
detail::tvec3<T, P>
const
& x,
79
detail::tvec3<T, P>
const
& y,
80
detail::tvec3<T, P>
const
& ref);
81
83
}
// namespace glm
84
85
#include "vector_angle.inl"
glm
Definition:
_literals.hpp:31
glm::angle
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
glm::orientedAngle
GLM_FUNC_DECL T orientedAngle(detail::tvec2< T, P > const &x, detail::tvec2< T, P > const &y)
GLM_FUNC_DECL
#define GLM_FUNC_DECL
Definition:
setup.hpp:728
rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:06