app
android
jni
third-party
include
glm
detail
func_matrix.hpp
Go to the documentation of this file.
1
40
#pragma once
41
42
// Dependencies
43
#include "../detail/precision.hpp"
44
#include "../detail/setup.hpp"
45
#include "../detail/type_mat.hpp"
46
#include "../vec2.hpp"
47
#include "../vec3.hpp"
48
#include "../vec4.hpp"
49
#include "../mat2x2.hpp"
50
#include "../mat2x3.hpp"
51
#include "../mat2x4.hpp"
52
#include "../mat3x2.hpp"
53
#include "../mat3x3.hpp"
54
#include "../mat3x4.hpp"
55
#include "../mat4x2.hpp"
56
#include "../mat4x3.hpp"
57
#include "../mat4x4.hpp"
58
59
namespace
glm
{
60
namespace
detail
61
{
62
template
<
typename
T, precision P>
63
struct
outerProduct_trait
<
T
,
P
,
tvec2
,
tvec2
>
64
{
65
typedef
tmat2x2<T, P>
type
;
66
};
67
68
template
<
typename
T, precision P>
69
struct
outerProduct_trait
<
T
,
P
,
tvec2
,
tvec3
>
70
{
71
typedef
tmat2x3<T, P>
type
;
72
};
73
74
template
<
typename
T, precision P>
75
struct
outerProduct_trait
<
T
,
P
,
tvec2
,
tvec4
>
76
{
77
typedef
tmat2x4<T, P>
type
;
78
};
79
80
template
<
typename
T, precision P>
81
struct
outerProduct_trait
<
T
,
P
,
tvec3
,
tvec2
>
82
{
83
typedef
tmat3x2<T, P>
type
;
84
};
85
86
template
<
typename
T, precision P>
87
struct
outerProduct_trait
<
T
,
P
,
tvec3
,
tvec3
>
88
{
89
typedef
tmat3x3<T, P>
type
;
90
};
91
92
template
<
typename
T, precision P>
93
struct
outerProduct_trait
<
T
,
P
,
tvec3
,
tvec4
>
94
{
95
typedef
tmat3x4<T, P>
type
;
96
};
97
98
template
<
typename
T, precision P>
99
struct
outerProduct_trait
<
T
,
P
,
tvec4
,
tvec2
>
100
{
101
typedef
tmat4x2<T, P>
type
;
102
};
103
104
template
<
typename
T, precision P>
105
struct
outerProduct_trait
<
T
,
P
,
tvec4
,
tvec3
>
106
{
107
typedef
tmat4x3<T, P>
type
;
108
};
109
110
template
<
typename
T, precision P>
111
struct
outerProduct_trait
<
T
,
P
,
tvec4
,
tvec4
>
112
{
113
typedef
tmat4x4<T, P>
type
;
114
};
115
116
}
//namespace detail
117
120
128
template
<
typename
T, precision P,
template
<
typename
, precision>
class
matType>
129
GLM_FUNC_DECL
matType<T, P>
matrixCompMult
(matType<T, P>
const
& x, matType<T, P>
const
& y);
130
141
template
<
typename
T, precision P,
template
<
typename
, precision>
class
vecTypeA,
template
<
typename
, precision>
class
vecTypeB>
142
GLM_FUNC_DECL
typename
detail::outerProduct_trait<T, P, vecTypeA, vecTypeB>::type
outerProduct
(vecTypeA<T, P>
const
& c, vecTypeB<T, P>
const
& r);
143
150
# if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC11))
151
template
<
typename
T, precision P,
template
<
typename
, precision>
class
matType>
152
GLM_FUNC_DECL
typename
matType<T, P>::transpose_type transpose(matType<T, P>
const
& x);
153
# endif
154
161
template
<
typename
T, precision P,
template
<
typename
, precision>
class
matType>
162
GLM_FUNC_DECL
T
determinant
(matType<T, P>
const
& m);
163
170
template
<
typename
T, precision P,
template
<
typename
, precision>
class
matType>
171
GLM_FUNC_DECL
matType<T, P>
inverse
(matType<T, P>
const
& m);
172
174
}
//namespace glm
175
176
#include "func_matrix.inl"
glm::detail::outerProduct_trait< T, P, tvec2, tvec2 >::type
tmat2x2< T, P > type
Definition:
func_matrix.hpp:65
glm::detail::outerProduct_trait< T, P, tvec2, tvec4 >::type
tmat2x4< T, P > type
Definition:
func_matrix.hpp:77
glm::detail::outerProduct_trait
Definition:
type_mat.hpp:50
glm::detail::tmat3x3
Definition:
type_mat.hpp:43
glm::detail::tmat4x3
Definition:
type_mat.hpp:46
glm::detail::tmat2x3
Definition:
type_mat.hpp:40
glm::detail::outerProduct_trait< T, P, tvec4, tvec3 >::type
tmat4x3< T, P > type
Definition:
func_matrix.hpp:107
glm
Definition:
_literals.hpp:31
T
T
glm::matrixCompMult
GLM_FUNC_DECL matType< T, P > matrixCompMult(matType< T, P > const &x, matType< T, P > const &y)
glm::detail::tvec2
Definition:
type_mat.hpp:36
glm::determinant
GLM_FUNC_DECL T determinant(matType< T, P > const &m)
glm::detail::outerProduct_trait< T, P, tvec4, tvec4 >::type
tmat4x4< T, P > type
Definition:
func_matrix.hpp:113
glm::detail::outerProduct_trait< T, P, tvec3, tvec2 >::type
tmat3x2< T, P > type
Definition:
func_matrix.hpp:83
glm::detail::tvec3
Definition:
type_mat.hpp:37
glm::detail::outerProduct_trait< T, P, tvec3, tvec3 >::type
tmat3x3< T, P > type
Definition:
func_matrix.hpp:89
glm::detail::outerProduct_trait< T, P, tvec2, tvec3 >::type
tmat2x3< T, P > type
Definition:
func_matrix.hpp:71
glm::detail::outerProduct_trait< T, P, tvec3, tvec4 >::type
tmat3x4< T, P > type
Definition:
func_matrix.hpp:95
glm::detail::tmat3x2
Definition:
type_mat.hpp:42
glm::detail::tmat4x2
Definition:
type_mat.hpp:45
glm::detail::tmat2x2
Definition:
type_mat.hpp:39
PointMatcherSupport::Parametrizable
glm::detail::tvec4
Definition:
type_mat.hpp:38
glm::detail::outerProduct_trait< T, P, tvec4, tvec2 >::type
tmat4x2< T, P > type
Definition:
func_matrix.hpp:101
glm::detail::tmat3x4
Definition:
type_mat.hpp:44
glm::detail::tmat4x4
Definition:
type_mat.hpp:47
glm::detail::tmat2x4
Definition:
type_mat.hpp:41
GLM_FUNC_DECL
#define GLM_FUNC_DECL
Definition:
setup.hpp:728
glm::inverse
GLM_FUNC_DECL matType< T, P > inverse(matType< T, P > const &m)
glm::outerProduct
GLM_FUNC_DECL detail::outerProduct_trait< T, P, vecTypeA, vecTypeB >::type outerProduct(vecTypeA< T, P > const &c, vecTypeB< T, P > const &r)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:37:28