summaryrefslogtreecommitdiff
path: root/src/glm/gtx/raw_data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glm/gtx/raw_data.hpp')
-rw-r--r--src/glm/gtx/raw_data.hpp58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/glm/gtx/raw_data.hpp b/src/glm/gtx/raw_data.hpp
new file mode 100644
index 0000000..9479bb2
--- /dev/null
+++ b/src/glm/gtx/raw_data.hpp
@@ -0,0 +1,58 @@
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// Created : 2008-11-19
+// Updated : 2010-01-28
+// Licence : This source is under MIT License
+// File : glm/gtx/raw_data.hpp
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// Dependency:
+// - GLM core
+///////////////////////////////////////////////////////////////////////////////////////////////////
+
+#ifndef glm_gtx_raw_data
+#define glm_gtx_raw_data
+
+// Dependency:
+#include "../glm.hpp"
+#include "../gtc/type_precision.hpp"
+
+#if(defined(GLM_MESSAGES) && !defined(glm_ext))
+# pragma message("GLM: GLM_GTX_raw_data extension included")
+#endif
+
+namespace glm{
+namespace gtx{
+namespace raw_data ///< GLM_GTX_raw_data extension: Projection of a vector to other one
+{
+ using namespace gtc::type_precision;
+
+ /// \addtogroup gtx_raw_data
+ ///@{
+
+ //! Type for byte numbers.
+ //! From GLM_GTX_raw_data extension.
+ typedef uint8 byte;
+
+ //! Type for word numbers.
+ //! From GLM_GTX_raw_data extension.
+ typedef uint16 word;
+
+ //! Type for dword numbers.
+ //! From GLM_GTX_raw_data extension.
+ typedef uint32 dword;
+
+ //! Type for qword numbers.
+ //! From GLM_GTX_raw_data extension.
+ typedef uint64 qword;
+
+ ///@}
+}// namespace raw_data
+}// namespace gtx
+}// namespace glm
+
+#include "raw_data.inl"
+
+namespace glm{using namespace gtx::raw_data;}
+
+#endif//glm_gtx_raw_data