1
0

ortho_lh_no.h 895 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright (c), Recep Aslantas.
  3. *
  4. * MIT License (MIT), http://opensource.org/licenses/MIT
  5. * Full license can be found in the LICENSE file
  6. */
  7. #ifndef cglmc_ortho_lh_no_h
  8. #define cglmc_ortho_lh_no_h
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #include "../../cglm.h"
  13. CGLM_EXPORT
  14. void
  15. glmc_ortho_lh_no(float left, float right,
  16. float bottom, float top,
  17. float nearZ, float farZ,
  18. mat4 dest);
  19. CGLM_EXPORT
  20. void
  21. glmc_ortho_aabb_lh_no(vec3 box[2], mat4 dest);
  22. CGLM_EXPORT
  23. void
  24. glmc_ortho_aabb_p_lh_no(vec3 box[2], float padding, mat4 dest);
  25. CGLM_EXPORT
  26. void
  27. glmc_ortho_aabb_pz_lh_no(vec3 box[2], float padding, mat4 dest);
  28. CGLM_EXPORT
  29. void
  30. glmc_ortho_default_lh_no(float aspect, mat4 dest);
  31. CGLM_EXPORT
  32. void
  33. glmc_ortho_default_s_lh_no(float aspect, float size, mat4 dest);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif /* cglmc_ortho_lh_no_h */