math.h 253 B

12345678910111213141516171819202122
  1. #ifndef MATH_H
  2. #define MATH_H
  3. #include "stdint.h"
  4. typedef struct {
  5. int x;
  6. int y;
  7. } RI_vector_2;
  8. typedef struct {
  9. float x;
  10. float y;
  11. } RI_vector_2f;
  12. typedef struct {
  13. float x;
  14. float y;
  15. float z;
  16. } RI_vector_3f;
  17. #endif