blob: 87e9beab6d396c48f66f2744046f52736a568bb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "types.hpp"
namespace amalgine {
struct vec2f {
f32 x;
f32 y;
vec2f() : x(0.0f), y(0.0f) {}
vec2f(f32 x, f32 y) : x(x), y(y) {}
};
struct vec3f {
f32 x;
f32 y;
f32 z;
vec3f() : x(0.0f), y(0.0f), z(0.0f) {}
vec3f(f32 x, f32 y, f32 z) : x(x), y(y), z(z) {}
};
}
|