1.0.2 API documentation: std_based_type.hpp Source File

| 1.0.2 API documentation

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 #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_std_based_type extension included")
24 #endif
25
26 namespace glm
27 {
30
33 typedef vec<1, std::size_t, defaultp> size1;
34
37 typedef vec<2, std::size_t, defaultp> size2;
38
41 typedef vec<3, std::size_t, defaultp> size3;
42
45 typedef vec<4, std::size_t, defaultp> size4;
46
49 typedef vec<1, std::size_t, defaultp> size1_t;
50
53 typedef vec<2, std::size_t, defaultp> size2_t;
54
57 typedef vec<3, std::size_t, defaultp> size3_t;
58
61 typedef vec<4, std::size_t, defaultp> size4_t;
62
64 }//namespace glm
65
66 #include "std_based_type.inl"
glm::size3_t
vec< 3, std::size_t, defaultp > size3_t
Vector type based of three std::size_t components.
Definition: std_based_type.hpp:57
glm::size3
vec< 3, std::size_t, defaultp > size3
Vector type based of three std::size_t components.
Definition: std_based_type.hpp:41
glm::size1
vec< 1, std::size_t, defaultp > size1
Vector type based of one std::size_t component.
Definition: std_based_type.hpp:33
glm::size2_t
vec< 2, std::size_t, defaultp > size2_t
Vector type based of two std::size_t components.
Definition: std_based_type.hpp:53
glm::size2
vec< 2, std::size_t, defaultp > size2
Vector type based of two std::size_t components.
Definition: std_based_type.hpp:37
glm::size4
vec< 4, std::size_t, defaultp > size4
Vector type based of four std::size_t components.
Definition: std_based_type.hpp:45
glm::size4_t
vec< 4, std::size_t, defaultp > size4_t
Vector type based of four std::size_t components.
Definition: std_based_type.hpp:61
glm::size1_t
vec< 1, std::size_t, defaultp > size1_t
Vector type based of one std::size_t component.
Definition: std_based_type.hpp:49