1
0

io.h 758 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_io_h
  8. #define cglmc_io_h
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #include "../cglm.h"
  13. CGLM_EXPORT
  14. void
  15. glmc_mat4_print(mat4 matrix,
  16. FILE * __restrict ostream);
  17. CGLM_EXPORT
  18. void
  19. glmc_mat3_print(mat3 matrix,
  20. FILE * __restrict ostream);
  21. CGLM_EXPORT
  22. void
  23. glmc_vec4_print(vec4 vec,
  24. FILE * __restrict ostream);
  25. CGLM_EXPORT
  26. void
  27. glmc_vec3_print(vec3 vec,
  28. FILE * __restrict ostream);
  29. CGLM_EXPORT
  30. void
  31. glmc_versor_print(versor vec,
  32. FILE * __restrict ostream);
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36. #endif /* cglmc_io_h */