working on adding a entity workflow
This commit is contained in:
12
source/game_source/vector.h
Normal file
12
source/game_source/vector.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef VECTOR_H
|
||||
#define VECTOR_H
|
||||
typedef struct {
|
||||
int x;
|
||||
int y;
|
||||
} vec2;
|
||||
|
||||
vec2 vec2_add(vec2 a, vec2 b);
|
||||
vec2 vec2_sub(vec2 a, vec2 b);
|
||||
vec2 vec2_mul(vec2 a, vec2 b);
|
||||
vec2 vec2_dev(vec2 a, vec2 b);
|
||||
#endif
|
||||
Reference in New Issue
Block a user