gdk-graphics 0a0aef92e917cfbac53dffbc32c295e4de914093
Loading...
Searching...
No Matches
data_types.h
1// © Joseph Cameron - MIT License
2
3#ifndef GDK_GRAPHICS_DATA_TYPES_H
4#define GDK_GRAPHICS_DATA_TYPES_H
5
6#include <gdk/graphics/color.h>
7#include <gdk/math/matrix3x3.h>
8#include <gdk/math/matrix4x4.h>
9#include <gdk/math/ops.h>
10#include <gdk/math/quaternion.h>
11#include <gdk/math/vector2.h>
12#include <gdk/math/vector3.h>
13#include <gdk/math/vector4.h>
14
15namespace gdk::graphics {
18//
19 using floating_point_type = float;
20
21 using mat3x3_type = gdk::math::matrix3x3<floating_point_type>;
22 using matrix4x4_type = gdk::math::matrix4x4<floating_point_type>;
23 using quaternion_type = gdk::math::quaternion<floating_point_type>;
24 using vector2_type = gdk::math::vector2<floating_point_type>;
25 using vector3_type = gdk::math::vector3<floating_point_type>;
26 using vector4_type = gdk::math::vector4<floating_point_type>;
28
31//
32 using signed_integral_type = int;
33
34 using intvector2_type = gdk::math::vector2<signed_integral_type>;
35 using intvector3_type = gdk::math::vector3<signed_integral_type>;
36 using intvector4_type = gdk::math::vector4<signed_integral_type>;
38}
39
40#endif