mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-30 05:12:18 -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;
|
||
|
};
|
||
|
};
|