0.9.9 API documenation
std_based_type.hpp
Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include <cstdlib>
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_std_based_type is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_std_based_type extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  typedef vec<1, std::size_t, defaultp> size1;
36 
39  typedef vec<2, std::size_t, defaultp> size2;
40 
43  typedef vec<3, std::size_t, defaultp> size3;
44 
47  typedef vec<4, std::size_t, defaultp> size4;
48 
51  typedef vec<1, std::size_t, defaultp> size1_t;
52 
55  typedef vec<2, std::size_t, defaultp> size2_t;
56 
59  typedef vec<3, std::size_t, defaultp> size3_t;
60 
63  typedef vec<4, std::size_t, defaultp> size4_t;
64 
66 }//namespace glm
67 
68 #include "std_based_type.inl"
vec< 2, std::size_t, defaultp > size2_t
Vector type based of two std::size_t components.
vec< 1, std::size_t, defaultp > size1_t
Vector type based of one std::size_t component.
vec< 1, std::size_t, defaultp > size1
Vector type based of one std::size_t component.
Definition: common.hpp:20
vec< 4, std::size_t, defaultp > size4_t
Vector type based of four std::size_t components.
vec< 3, std::size_t, defaultp > size3_t
Vector type based of three std::size_t components.
vec< 4, std::size_t, defaultp > size4
Vector type based of four std::size_t components.
vec< 2, std::size_t, defaultp > size2
Vector type based of two std::size_t components.
vec< 3, std::size_t, defaultp > size3
Vector type based of three std::size_t components.