mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 23:55:06 -04:00
19 lines
153 B
C
19 lines
153 B
C
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
struct Vec2f
|
||
|
{
|
||
|
float x, y;
|
||
|
|
||
|
Vec2f()
|
||
|
{
|
||
|
x = 0;
|
||
|
y = 0;
|
||
|
};
|
||
|
Vec2f(float nX, float nY)
|
||
|
{
|
||
|
x = nX;
|
||
|
y = nY;
|
||
|
};
|
||
|
};
|