diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
| commit | b691c43c44ff180d10e7d4a9afc83b98551ff586 (patch) | |
| tree | 3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.Client/DragonModel.h | |
| parent | def8cb415354ac390b7e89052a50605285f1aca9 (diff) | |
Initial commit
Diffstat (limited to 'Minecraft.Client/DragonModel.h')
| -rw-r--r-- | Minecraft.Client/DragonModel.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Minecraft.Client/DragonModel.h b/Minecraft.Client/DragonModel.h new file mode 100644 index 00000000..47c20cba --- /dev/null +++ b/Minecraft.Client/DragonModel.h @@ -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); + +};
\ No newline at end of file |
