archeus/include/arc/math/vector2.h

31 lines
497 B
C
Raw Normal View History

#ifndef ARC_MATH_VECTOR2_H_
#define ARC_MATH_VECTOR2_H_
#include <stdint.h>
typedef struct ARC_Vector2 {
int32_t x, y;
} ARC_Vector2;
typedef struct ARC_UVector2 {
uint32_t x, y;
} ARC_UVector2;
typedef struct ARC_FVector2 {
float x, y;
} ARC_FVector2;
typedef struct ARC_DVector2 {
double x, y;
} ARC_DVector2;
typedef struct ARC_LVector2 {
int64_t x, y;
} ARC_LVector2;
typedef struct ARC_ULVector2 {
uint64_t x, y;
} ARC_ULVector2;
#endif // ARC_MATH_VECTOR2_H_