blob: eaf0f005c6ccb99841bc3b1455bbb952f80f3dfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "EntityRenderer.h"
class SkeletonHeadModel;
class WitherSkullRenderer : public EntityRenderer
{
private:
static ResourceLocation WITHER_ARMOR_LOCATION;
static ResourceLocation WITHER_LOCATION;
SkeletonHeadModel *model;
public:
WitherSkullRenderer();
void render(shared_ptr<Entity> entity, double x, double y, double z, float rot, float a);
ResourceLocation *getTextureLocation(shared_ptr<Entity> entity);
private:
float rotlerp(float from, float to, float a);
};
|