the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 22 lines 584 B view raw
1#pragma once 2#include "Vertex.h" 3#include "Tesselator.h" 4#include "..\Minecraft.World\ArrayWithLength.h" 5 6class _Polygon 7{ 8public: 9 VertexArray vertices; 10 int vertexCount; 11private: 12 bool _flipNormal; 13 14public: 15 void _init(VertexArray vertices); // 4J added for common init code 16 _Polygon(VertexArray vertices); 17 _Polygon(VertexArray vertices, int u0, int v0, int u1, int v1, float xTexSize, float yTexSize); 18 _Polygon(VertexArray vertices, float u0, float v0, float u1, float v1); 19 void mirror(); 20 void render(Tesselator *t, float scale); 21 _Polygon *flipNormal(); 22};