blob: 6b232746b2c7f32b9d6afc79ad1d57b08ea1bb67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "stdafx.h"
#include "GiantMobRenderer.h"
ResourceLocation GiantMobRenderer::ZOMBIE_LOCATION = ResourceLocation(TN_ITEM_ARROWS);
GiantMobRenderer::GiantMobRenderer(Model *model, float shadow, float _scale) : MobRenderer(model, shadow *_scale)
{
this->_scale = _scale;
}
void GiantMobRenderer::scale(shared_ptr<LivingEntity> mob, float a)
{
glScalef(_scale, _scale, _scale);
}
ResourceLocation *GiantMobRenderer::getTextureLocation(shared_ptr<Entity> mob)
{
return &ZOMBIE_LOCATION;
}
|