9
3

vector_float1.hpp 773 B

12345678910111213141516171819202122232425262728293031
  1. /// @ref ext_vector_float1
  2. /// @file glm/ext/vector_float1.hpp
  3. ///
  4. /// @defgroup ext_vector_float1 GLM_EXT_vector_float1
  5. /// @ingroup ext
  6. ///
  7. /// Exposes single-precision floating point vector type with one component.
  8. ///
  9. /// Include <glm/ext/vector_float1.hpp> to use the features of this extension.
  10. ///
  11. /// @see ext_vector_float1_precision extension.
  12. /// @see ext_vector_double1 extension.
  13. #pragma once
  14. #include "../detail/type_vec1.hpp"
  15. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  16. # pragma message("GLM: GLM_EXT_vector_float1 extension included")
  17. #endif
  18. namespace glm
  19. {
  20. /// @addtogroup ext_vector_float1
  21. /// @{
  22. /// 1 components vector of single-precision floating-point numbers.
  23. typedef vec<1, float, defaultp> vec1;
  24. /// @}
  25. }//namespace glm