OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
oglplus
math
vector.hpp
Go to the documentation of this file.
1
#ifndef OGLPLUS_MATH_VECTOR_HPP
9
#define OGLPLUS_MATH_VECTOR_HPP
10
11
#include "
config.hpp
"
12
#include <
eagine/math/tvec.hpp
>
13
#include <
oglplus/gl_api/config.hpp
>
14
15
namespace
eagine::oglp {
16
19
using
math::vector;
20
23
template
<
typename
T,
unsigned
N,
bool
V = math_use_simd>
24
using
tvec
=
math::tvec<T, N, V>
;
25
28
using
vec2
=
tvec<gl_types::float_type, 2>
;
29
32
using
vec3
=
tvec<gl_types::float_type, 3>
;
33
36
using
vec4
=
tvec<gl_types::float_type, 4>
;
37
38
}
// namespace eagine::oglp
39
40
#endif // OGLPLUS_MATH_VECTOR_HPP
tvec.hpp
eagine::math::tvec
Generic template for N-dimensional vectors.
Definition:
fwd.hpp:22
config.hpp
eagine::oglp::vec3
tvec< gl_types::float_type, 3 > vec3
Alias for a 3D vector type.
Definition:
vector.hpp:32
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).