mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-27 12:53:38 +00:00
11 lines
322 B
C++
11 lines
322 B
C++
#include "../../Platform/stdafx.h"
|
|
#include "GiantMobRenderer.h"
|
|
|
|
GiantMobRenderer::GiantMobRenderer(Model* model, float shadow, float _scale)
|
|
: MobRenderer(model, shadow * _scale) {
|
|
this->_scale = _scale;
|
|
}
|
|
|
|
void GiantMobRenderer::scale(std::shared_ptr<Mob> mob, float a) {
|
|
glScalef(_scale, _scale, _scale);
|
|
} |