mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 21:02:18 -05:00
21 lines
185 B
C
21 lines
185 B
C
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
struct Vec3f
|
||
|
{
|
||
|
float x, y, z;
|
||
|
|
||
|
Vec3f()
|
||
|
{
|
||
|
x = 0;
|
||
|
y = 0;
|
||
|
z = 0;
|
||
|
};
|
||
|
Vec3f(float nX, float nY, float nZ)
|
||
|
{
|
||
|
x = nX;
|
||
|
y = nY;
|
||
|
z = nZ;
|
||
|
};
|
||
|
};
|