2021-03-02 11:17:40 +01:00
|
|
|
/* 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. */
|
2021-03-02 00:21:01 +01:00
|
|
|
#pragma once
|
2021-03-04 10:38:50 +01:00
|
|
|
#include "lazyint.h"
|
2021-05-01 02:23:11 +02:00
|
|
|
#include <stdbool.h>
|
2021-03-02 00:21:01 +01:00
|
|
|
|
2021-03-04 10:38:50 +01:00
|
|
|
typedef i16 vec2_int_t;
|
2021-05-01 02:23:11 +02:00
|
|
|
typedef struct Vec2 {
|
2021-03-02 00:21:01 +01:00
|
|
|
vec2_int_t x;
|
|
|
|
vec2_int_t y;
|
|
|
|
} Vec2;
|