sockscape/include/client/glm/ext/quaternion_double.hpp
2018-08-14 10:28:14 -05:00

37 lines
861 B
C++

/// @ref ext_quaternion_double
/// @file glm/ext/quaternion_double.hpp
///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_double GLM_EXT_quaternion_double
/// @ingroup ext
///
/// Include <glm/ext/quaternion_double.hpp> to use the features of this extension.
///
/// Defines a templated quaternion type and several quaternion operations.
#pragma once
// Dependency:
#include "../detail/type_quat.hpp"
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_EXT_quaternion_double extension included")
#endif
namespace glm
{
/// @addtogroup ext_quaternion_double
/// @{
#if GLM_CONFIG_PRECISION_FLOAT == GLM_HIGHP
typedef qua<double, highp> dquat;
#elif GLM_CONFIG_PRECISION_FLOAT == GLM_MEDIUMP
typedef qua<double, mediump> dquat;
#else
typedef qua<double, lowp> dquat;
#endif
/// @}
} //namespace glm