876 B、34行 生 Blame 履歴
1/// @ref ext_vector_bool1_precision
2/// @file glm/ext/vector_bool1_precision.hpp
3///
4/// @defgroup ext_vector_bool1_precision GLM_EXT_vector_bool1_precision
5/// @ingroup ext
6///
7/// Exposes highp_bvec1, mediump_bvec1 and lowp_bvec1 types.
8///
9/// Include <glm/ext/vector_bool1_precision.hpp> to use the features of this extension.
10
11#pragma once
12
13#include "../detail/type_vec1.hpp"
14
15#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
16# pragma message("GLM: GLM_EXT_vector_bool1_precision extension included")
17#endif
18
19namespace glm
20{
21 /// @addtogroup ext_vector_bool1_precision
22 /// @{
23
24 /// 1 component vector of bool values.
25 typedef vec<1, bool, highp> highp_bvec1;
26
27 /// 1 component vector of bool values.
28 typedef vec<1, bool, mediump> mediump_bvec1;
29
30 /// 1 component vector of bool values.
31 typedef vec<1, bool, lowp> lowp_bvec1;
32
33 /// @}
34}//namespace glm