app
android
jni
third-party
include
glm
gtx
optimum_pow.hpp
Go to the documentation of this file.
1
38
#pragma once
39
40
// Dependency:
41
#include "../glm.hpp"
42
43
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44
# pragma message("GLM: GLM_GTX_optimum_pow extension included")
45
#endif
46
47
namespace
glm
{
48
namespace
gtx
49
{
52
55
template
<
typename
genType>
56
GLM_FUNC_DECL
genType
pow2
(
const
genType& x);
57
60
template
<
typename
genType>
61
GLM_FUNC_DECL
genType
pow3
(
const
genType& x);
62
65
template
<
typename
genType>
66
GLM_FUNC_DECL
genType
pow4
(
const
genType& x);
67
70
GLM_FUNC_DECL
bool
powOfTwo
(
int
num);
71
74
template
<precision P>
75
GLM_FUNC_DECL
detail::tvec2<bool, P>
powOfTwo
(detail::tvec2<int, P>
const
& x);
76
79
template
<precision P>
80
GLM_FUNC_DECL
detail::tvec3<bool, P>
powOfTwo
(detail::tvec3<int, P>
const
& x);
81
84
template
<precision P>
85
GLM_FUNC_DECL
detail::tvec4<bool, P>
powOfTwo
(detail::tvec4<int, P>
const
& x);
86
88
}
//namespace gtx
89
}
//namespace glm
90
91
#include "optimum_pow.inl"
glm::gtx::powOfTwo
GLM_FUNC_DECL bool powOfTwo(int num)
glm
Definition:
_literals.hpp:31
glm::gtx::pow4
GLM_FUNC_DECL genType pow4(const genType &x)
glm::gtx::pow2
GLM_FUNC_DECL genType pow2(const genType &x)
GLM_FUNC_DECL
#define GLM_FUNC_DECL
Definition:
setup.hpp:728
glm::gtx::pow3
GLM_FUNC_DECL genType pow3(const genType &x)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:14