forked from Kolyah35/minecraft-pe-0.6.1
the whole game
This commit is contained in:
32
src/client/model/SignModel.h
Executable file
32
src/client/model/SignModel.h
Executable file
@@ -0,0 +1,32 @@
|
||||
#ifndef NET_MINECRAFT_CLIENT_MODEL__SignModel_H__
|
||||
#define NET_MINECRAFT_CLIENT_MODEL__SignModel_H__
|
||||
|
||||
//package net.minecraft.client.model;
|
||||
|
||||
#include "Model.h"
|
||||
#include "geom/ModelPart.h"
|
||||
|
||||
class SignModel: public Model
|
||||
{
|
||||
public:
|
||||
SignModel()
|
||||
: cube(0, 0),
|
||||
cube2(0, 14)
|
||||
{
|
||||
cube.addBox(-12, -14, -1, 24, 12, 2, 0);
|
||||
cube2.addBox(-1, -2, -1, 2, 14, 2, 0);
|
||||
|
||||
cube.setModel(this);
|
||||
cube2.setModel(this);
|
||||
}
|
||||
|
||||
void render() {
|
||||
cube.render(1 / 16.0f);
|
||||
cube2.render(1 / 16.0f);
|
||||
}
|
||||
|
||||
ModelPart cube;
|
||||
ModelPart cube2;
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_CLIENT_MODEL__SignModel_H__*/
|
||||
Reference in New Issue
Block a user