diff options
author | dec05eba <dec05eba@protonmail.com> | 2017-12-27 21:52:21 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-18 15:21:48 +0100 |
commit | 2d8b61bf9fc36e933a0091e1098e62faf143412c (patch) | |
tree | 6b82990f2f61e0c55085ef65ebaa21e41e55dd43 /include/Vertex2D.hpp | |
parent | ce271c4c6d0f9c440d90397c07eaa96b0443ff47 (diff) |
Add triangle type
Diffstat (limited to 'include/Vertex2D.hpp')
-rw-r--r-- | include/Vertex2D.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
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; + }; +} |