painfull-success-cg/include/vec2.h

16 lines
450 B
C

/* SPDX-License-Identifier: MIT
* Copyright (c) 2021 KikooDX
* This file is part of
* [Painfull Success CG](https://git.sr.ht/~kikoodx/painfull-success-cg),
* which is MIT licensed. The MIT license requires this copyright notice to be
* included in all copies and substantial portions of the software. */
#pragma once
#include "lazyint.h"
#include <stdbool.h>
typedef i16 vec2_int_t;
typedef struct Vec2 {
vec2_int_t x;
vec2_int_t y;
} Vec2;