32 lines
433 B
C
32 lines
433 B
C
#ifndef ARC_MATH_CIRCLE_H_
|
|
#define ARC_MATH_CIRCLE_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct ARC_Circle {
|
|
int32_t x;
|
|
int32_t y;
|
|
int32_t r;
|
|
} ARC_Circle;
|
|
|
|
typedef struct ARC_FCircle {
|
|
float x;
|
|
float y;
|
|
float r;
|
|
} ARC_FCircle;
|
|
|
|
typedef struct ARC_DCircle {
|
|
double x;
|
|
double y;
|
|
double r;
|
|
} ARC_DCircle;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // ARC_MATH_CIRCLE_H_
|