22 lines
331 B
C
22 lines
331 B
C
#ifndef ARC_MATH_VECTOR2_H_
|
|
#define ARC_MATH_VECTOR2_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct ARC_Vector2 {
|
|
float x, y;
|
|
} ARC_Vector2;
|
|
|
|
typedef struct ARC_DVector2 {
|
|
double x, y;
|
|
} ARC_DVector2;
|
|
|
|
void ARC_Vector2_Normalize(ARC_Vector2 *vector);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // ARC_MATH_VECTOR2_H_
|