From 2d8b61bf9fc36e933a0091e1098e62faf143412c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 27 Dec 2017 21:52:21 +0100 Subject: Add triangle type --- include/Vertex2D.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/Vertex2D.hpp (limited to 'include/Vertex2D.hpp') diff --git a/include/Vertex2D.hpp b/include/Vertex2D.hpp new file mode 100644 index 0000000..de22cd9 --- /dev/null +++ b/include/Vertex2D.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include "types.hpp" + +namespace amalgine +{ + class Vertex2D + { + public: + Vertex2D(f32 _x = 0.0f, f32 _y = 0.0f) : x(_x), y(_y) + { + + } + + f32 x; + f32 y; + }; +} -- cgit v1.2.3