first commit
This commit is contained in:
35
Minecraft.Client/DragonModel.h
Normal file
35
Minecraft.Client/DragonModel.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
#include "Model.h"
|
||||
#include "ModelPart.h"
|
||||
|
||||
class DragonModel : public Model
|
||||
{
|
||||
public:
|
||||
static const int MODEL_ID = 4;
|
||||
|
||||
private:
|
||||
ModelPart *head;
|
||||
ModelPart *neck;
|
||||
ModelPart *jaw;
|
||||
ModelPart *body;
|
||||
ModelPart *rearLeg;
|
||||
ModelPart *frontLeg;
|
||||
ModelPart *rearLegTip;
|
||||
ModelPart *frontLegTip;
|
||||
ModelPart *rearFoot;
|
||||
ModelPart *frontFoot;
|
||||
ModelPart *wing;
|
||||
ModelPart *wingTip;
|
||||
float a;
|
||||
|
||||
public:
|
||||
|
||||
ModelPart *cubes[5];
|
||||
DragonModel(float g);
|
||||
void prepareMobModel(shared_ptr<Mob> mob, float time, float r, float a);
|
||||
virtual void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
|
||||
|
||||
private:
|
||||
float rotWrap(double d);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user