basic sdl init graphics and engine implementaiton

This commit is contained in:
herbglitch 2022-10-29 00:22:23 -06:00
parent db1adbb838
commit 685364929b
18 changed files with 257 additions and 7 deletions

View file

View file

@ -0,0 +1,30 @@
#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_

View file