mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-30 12:03:30 +00:00
28 lines
491 B
C++
Executable File
28 lines
491 B
C++
Executable File
#pragma once
|
|
|
|
//package net.minecraft.client.model;
|
|
|
|
#include <string>
|
|
#include "Polygon.h"
|
|
|
|
class Tesselator;
|
|
class ModelPart;
|
|
|
|
class Cube
|
|
{
|
|
public:
|
|
Cube(ModelPart* modelPart, int xTexOffs, int yTexOffs, float x0, float y0, float z0, int w, int h, int d, float g);
|
|
|
|
void compile(Tesselator& t, float scale);
|
|
Cube* setId(const std::string& id);
|
|
private:
|
|
|
|
VertexPT vertices[8];
|
|
PolygonQuad polygons[6];
|
|
std::string id;
|
|
const float x0, y0, z0, x1, y1, z1;
|
|
|
|
friend class ModelPart;
|
|
};
|
|
|