archeus/include/arc/math/point.h

30 lines
386 B
C
Raw Normal View History

#ifndef ARC_MATH_POINT_H_
#define ARC_MATH_POINT_H_
#include <stdint.h>
2023-01-30 23:22:34 -07:00
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ARC_Point {
2023-01-30 23:22:34 -07:00
int32_t x;
int32_t y;
} ARC_Point;
typedef struct ARC_UPoint {
2023-01-30 23:22:34 -07:00
uint32_t x;
uint32_t y;
} ARC_UPoint;
typedef struct ARC_FPoint {
2023-01-30 23:22:34 -07:00
float x;
float y;
} ARC_FPoint;
2023-01-30 23:22:34 -07:00
#ifdef __cplusplus
}
#endif
#endif // ARC_MATH_POINT_H_