sockscape/include/client/glm/ext/vector_float1.hpp

39 lines
898 B
C++
Raw Permalink Normal View History

2018-08-13 19:16:46 +00:00
/// @ref ext_vector_float1
/// @file glm/ext/vector_float1.hpp
///
/// @see core (dependence)
///
/// @defgroup ext_vector_float1 GLM_EXT_vector_float1
/// @ingroup ext
///
/// Include <glm/ext/vector_float1.hpp> to use the features of this extension.
///
/// Exposes vec1 vector type.
#pragma once
#include "../detail/type_vec1.hpp"
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_EXT_vector_float1 extension included")
#endif
namespace glm
{
/// @addtogroup ext_vector_float1
/// @{
# if GLM_CONFIG_PRECISION_FLOAT == GLM_LOWP
typedef vec<1, float, lowp> vec1;
# elif GLM_CONFIG_PRECISION_FLOAT == GLM_MEDIUMP
typedef vec<1, float, mediump> vec1;
# else
/// 1 components vector of single-precision floating-point numbers.
///
/// @see ext_vector_float1 extension.
typedef vec<1, float, highp> vec1;
# endif
/// @}
}//namespace glm