diff --git a/C++ProjectTemplate b/C++ProjectTemplate index cc54185..8682586 100755 Binary files a/C++ProjectTemplate and b/C++ProjectTemplate differ diff --git a/hexTex.png b/hexTex.png new file mode 100644 index 0000000..47d2835 Binary files /dev/null and b/hexTex.png differ diff --git a/main.cpp b/main.cpp index ce43259..15c41c2 100644 --- a/main.cpp +++ b/main.cpp @@ -3,58 +3,51 @@ using namespace olc; -class Circles : public olc::PixelGameEngine +class Hexes : public olc::PixelGameEngine { public: - Circles() + Hexes() { - sAppName = "Circles"; + sAppName = "Hexes"; } public: - - int CIRCLE_PRECISION=32; - - void DrawCircleDecal(vf2d pos,float radius,Pixel col=WHITE) { - std::vector poly; - std::vector uvs; - for (int i=0;i poly; - std::vector uvs; - poly.push_back(pos); - uvs.push_back({0,0}); - for (int i=0;i