mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-23 02:49:48 +00:00
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
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__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue