0.9.9 API documenation
std_based_type.hpp
Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include <cstdlib>
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # 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."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_std_based_type extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  typedef vec<1, std::size_t, defaultp> size1;
35 
38  typedef vec<2, std::size_t, defaultp> size2;
39 
42  typedef vec<3, std::size_t, defaultp> size3;
43 
46  typedef vec<4, std::size_t, defaultp> size4;
47 
50  typedef vec<1, std::size_t, defaultp> size1_t;
51 
54  typedef vec<2, std::size_t, defaultp> size2_t;
55 
58  typedef vec<3, std::size_t, defaultp> size3_t;
59 
62  typedef vec<4, std::size_t, defaultp> size4_t;
63 
65 }//namespace glm
66 
67 #include "std_based_type.inl"
vec< 1, std::size_t, defaultp > size1
Vector type based of one std::size_t component.
vec< 4, std::size_t, defaultp > size4
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.
Definition: _noise.hpp:11
vec< 2, std::size_t, defaultp > size2
Vector type based of two std::size_t components.
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< 4, std::size_t, defaultp > size4_t
Vector type based of four std::size_t components.
vec< 3, std::size_t, defaultp > size3
Vector type based of three std::size_t components.