aboutsummaryrefslogtreecommitdiff
path: root/glm/ext/quaternion_float.hpp
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-12-07 16:23:20 -0500
committersotech117 <michael_foiani@brown.edu>2023-12-07 16:23:20 -0500
commitcaa765bff49d54217b75aaf0e7acf4e5392a11e4 (patch)
tree9b92914dfb88b99599e8e60e4512e9e9ea9a25db /glm/ext/quaternion_float.hpp
parenta9274459443f1d560d7580a162deb581549980cb (diff)
upload base code
Diffstat (limited to 'glm/ext/quaternion_float.hpp')
-rw-r--r--glm/ext/quaternion_float.hpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/glm/ext/quaternion_float.hpp b/glm/ext/quaternion_float.hpp
new file mode 100644
index 0000000..ca42a60
--- /dev/null
+++ b/glm/ext/quaternion_float.hpp
@@ -0,0 +1,39 @@
+/// @ref ext_quaternion_float
+/// @file glm/ext/quaternion_float.hpp
+///
+/// @defgroup ext_quaternion_float GLM_EXT_quaternion_float
+/// @ingroup ext
+///
+/// Exposes single-precision floating point quaternion type.
+///
+/// Include <glm/ext/quaternion_float.hpp> to use the features of this extension.
+///
+/// @see ext_quaternion_double
+/// @see ext_quaternion_float_precision
+/// @see ext_quaternion_common
+/// @see ext_quaternion_exponential
+/// @see ext_quaternion_geometric
+/// @see ext_quaternion_relational
+/// @see ext_quaternion_transform
+/// @see ext_quaternion_trigonometric
+
+#pragma once
+
+// Dependency:
+#include "../detail/type_quat.hpp"
+
+#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
+# pragma message("GLM: GLM_EXT_quaternion_float extension included")
+#endif
+
+namespace glm
+{
+ /// @addtogroup ext_quaternion_float
+ /// @{
+
+ /// Quaternion of single-precision floating-point numbers.
+ typedef qua<float, defaultp> quat;
+
+ /// @}
+} //namespace glm
+