29 lines
386 B
C
29 lines
386 B
C
#ifndef ARC_MATH_POINT_H_
|
|
#define ARC_MATH_POINT_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct ARC_Point {
|
|
int32_t x;
|
|
int32_t y;
|
|
} ARC_Point;
|
|
|
|
typedef struct ARC_UPoint {
|
|
uint32_t x;
|
|
uint32_t y;
|
|
} ARC_UPoint;
|
|
|
|
typedef struct ARC_FPoint {
|
|
float x;
|
|
float y;
|
|
} ARC_FPoint;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // ARC_MATH_POINT_H_
|