mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-23 08:38:52 -05: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;
|
||
|
};
|
||
|
};
|