December 2014 files
This commit is contained in:
@@ -1,12 +1,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<Mob> mob, float a)
|
||||
void GiantMobRenderer::scale(shared_ptr<LivingEntity> mob, float a)
|
||||
{
|
||||
glScalef(_scale, _scale, _scale);
|
||||
}
|
||||
|
||||
ResourceLocation *GiantMobRenderer::getTextureLocation(shared_ptr<Entity> mob)
|
||||
{
|
||||
return &ZOMBIE_LOCATION;
|
||||
}
|
||||
Reference in New Issue
Block a user