painfull-success-cg/include/vec2.h

9 lines
122 B
C
Raw Normal View History

#pragma once
#include <stdbool.h>
typedef int16_t vec2_int_t;
typedef struct Vec2{
vec2_int_t x;
vec2_int_t y;
} Vec2;