| 0.6.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

type.hpp
Go to the documentation of this file.
1
29 #pragma once
30
31 // STD
32 #include <cstddef>
33
34 // GLM
35 #define GLM_FORCE_EXPLICIT_CTOR
36 #include <glm/glm.hpp>
37 #include <glm/gtc/vec1.hpp>
38 #include <glm/gtx/std_based_type.hpp>
39
40 // GLI
41 #include "format.hpp"
42
43 namespace gli
44 {
45 using std::size_t;
46
47 typedef glm::tvec1<size_t> dim1_t;
48 typedef glm::tvec2<size_t> dim2_t;
49 typedef glm::tvec3<size_t> dim3_t;
50 typedef glm::tvec4<size_t> dim4_t;
51 typedef glm::vec1 vec1;
52 typedef glm::vec2 vec2;
53 typedef glm::vec3 vec3;
54 typedef glm::vec4 vec4;
55
56 typedef glm::ivec4 ivec4;
57 }//namespace gli
gli::dim4_t
glm::tvec4< size_t > dim4_t
Definition: type.hpp:50
format.hpp
OpenGL Image (gli.g-truc.net)
gli::vec2
glm::vec2 vec2
Definition: type.hpp:52
gli::ivec4
glm::ivec4 ivec4
Definition: type.hpp:56
gli::vec4
glm::vec4 vec4
Definition: type.hpp:54
gli::dim2_t
glm::tvec2< size_t > dim2_t
Definition: type.hpp:48
gli::dim3_t
glm::tvec3< size_t > dim3_t
Definition: type.hpp:49
gli::vec1
glm::vec1 vec1
Definition: type.hpp:51
gli
Definition: addressing.hpp:33
gli::vec3
glm::vec3 vec3
Definition: type.hpp:53
gli::dim1_t
glm::tvec1< size_t > dim1_t
Definition: type.hpp:47