the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "..\Minecraft.World\ArrayWithLength.h"
3#include "Vertex.h"
4#include "Polygon.h"
5
6class Model;
7
8class Cube
9{
10
11private:
12 VertexArray vertices;
13 PolygonArray polygons;
14
15public:
16
17 const float x0, y0, z0, x1, y1, z1;
18 wstring id;
19
20public:
21 Cube(ModelPart *modelPart, int xTexOffs, int yTexOffs, float x0, float y0, float z0, int w, int h, int d, float g, int faceMask = 63, bool bFlipPoly3UVs = false); // 4J - added faceMask
22
23private:
24 VertexArray VertexArray4(Vertex *v0, Vertex *v1, Vertex *v2, Vertex *v3); // 4J added
25
26public:
27 void render(Tesselator *t,float scale);
28 Cube *setId(const wstring &id);
29};