Browse Source

Math: add GLSL bvec* as keywords for BoolVector.

pull/249/merge
Vladimír Vondruš 8 years ago
parent
commit
47d79ef47d
  1. 4
      src/Magnum/Math/BoolVector.h

4
src/Magnum/Math/BoolVector.h

@ -62,6 +62,10 @@ Result of component-wise comparison from @ref Vector. The boolean values are
stored as bits in array of unsigned bytes, unused bits have undefined value stored as bits in array of unsigned bytes, unused bits have undefined value
which doesn't affect comparison or @ref all() / @ref none() / @ref any() which doesn't affect comparison or @ref all() / @ref none() / @ref any()
functions. See also @ref matrix-vector for brief introduction. functions. See also @ref matrix-vector for brief introduction.
@m_keyword{bvec2,GLSL bvec2,}
@m_keyword{bvec3,GLSL bvec3,}
@m_keyword{bvec4,GLSL bvec4,}
*/ */
template<std::size_t size> class BoolVector { template<std::size_t size> class BoolVector {
static_assert(size != 0, "BoolVector cannot have zero elements"); static_assert(size != 0, "BoolVector cannot have zero elements");

Loading…
Cancel
Save