matrix_transform.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /// @ref gtc_matrix_transform
  2. /// @file glm/gtc/matrix_transform.hpp
  3. ///
  4. /// @see core (dependence)
  5. /// @see gtx_transform
  6. /// @see gtx_transform2
  7. ///
  8. /// @defgroup gtc_matrix_transform GLM_GTC_matrix_transform
  9. /// @ingroup gtc
  10. ///
  11. /// Include <glm/gtc/matrix_transform.hpp> to use the features of this extension.
  12. ///
  13. /// Defines functions that generate common transformation matrices.
  14. ///
  15. /// The matrices generated by this extension use standard OpenGL fixed-function
  16. /// conventions. For example, the lookAt function generates a transform from world
  17. /// space into the specific eye space that the projective matrix functions
  18. /// (perspective, ortho, etc) are designed to expect. The OpenGL compatibility
  19. /// specifications defines the particular layout of this eye space.
  20. #pragma once
  21. // Dependencies
  22. #include "../mat4x4.hpp"
  23. #include "../vec2.hpp"
  24. #include "../vec3.hpp"
  25. #include "../vec4.hpp"
  26. #include "../ext/matrix_projection.hpp"
  27. #include "../ext/matrix_clip_space.hpp"
  28. #include "../ext/matrix_transform.hpp"
  29. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  30. # pragma message("GLM: GLM_GTC_matrix_transform extension included")
  31. #endif
  32. #include "matrix_transform.inl"