0.6.1
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
glm::tvec4< size_t > dim4_t
Definition: type.hpp:50
OpenGL Image (gli.g-truc.net)
glm::vec2 vec2
Definition: type.hpp:52
glm::ivec4 ivec4
Definition: type.hpp:56
glm::vec4 vec4
Definition: type.hpp:54
glm::tvec2< size_t > dim2_t
Definition: type.hpp:48
glm::tvec3< size_t > dim3_t
Definition: type.hpp:49
glm::vec1 vec1
Definition: type.hpp:51
glm::vec3 vec3
Definition: type.hpp:53
glm::tvec1< size_t > dim1_t
Definition: type.hpp:47