OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
oglplus
math
matrix.hpp
Go to the documentation of this file.
1
#ifndef OGLPLUS_MATH_MATRIX_HPP
9
#define OGLPLUS_MATH_MATRIX_HPP
10
11
#include "
config.hpp
"
12
#include <
eagine/math/tmat.hpp
>
13
#include <
oglplus/gl_api/config.hpp
>
14
15
namespace
eagine::oglp {
16
19
using
math::matrix;
20
23
template
<
typename
T,
unsigned
C,
unsigned
R,
bool
RM = false,
bool
V = math_use_simd>
24
using
tmat
=
math::tmat<T, C, R, RM, V>
;
25
28
using
mat2
=
tmat<gl_types::float_type, 2, 2>
;
29
32
using
mat2x3
=
tmat<gl_types::float_type, 2, 3>
;
33
36
using
mat2x4
=
tmat<gl_types::float_type, 2, 4>
;
37
40
using
mat3x2
=
tmat<gl_types::float_type, 3, 2>
;
41
44
using
mat3
=
tmat<gl_types::float_type, 3, 3>
;
45
48
using
mat3x4
=
tmat<gl_types::float_type, 3, 4>
;
49
52
using
mat4x2
=
tmat<gl_types::float_type, 4, 2>
;
53
56
using
mat4x3
=
tmat<gl_types::float_type, 4, 3>
;
57
60
using
mat4
=
tmat<gl_types::float_type, 4, 4>
;
61
62
}
// namespace eagine::oglp
63
64
#endif // OGLPLUS_MATH_MATRIX_HPP
tmat.hpp
eagine::math::tmat
Generic template for RxC dimensional matrices.
Definition:
fwd.hpp:31
config.hpp
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).