basic sdl init graphics and engine implementaiton
This commit is contained in:
parent
db1adbb838
commit
685364929b
18 changed files with 257 additions and 7 deletions
0
include/arc/math/rectangle.h
Normal file
0
include/arc/math/rectangle.h
Normal file
30
include/arc/math/vector2.h
Normal file
30
include/arc/math/vector2.h
Normal 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_
|
||||
0
include/arc/math/vector3.h
Normal file
0
include/arc/math/vector3.h
Normal file
Loading…
Add table
Add a link
Reference in a new issue