Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
720 B · 35 lines
C
at main
1234567891011121314151617181920212223242526272829303132333435#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<LivingEntity> 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);
};