Files
MinecraftConsoles/Minecraft.Client/DefaultRenderer.cpp
void_17 7074f35e4b shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
2026-03-02 15:58:20 +07:00

12 lines
407 B
C++

#include "stdafx.h"
#include "DefaultRenderer.h"
#include "..\Minecraft.World\net.minecraft.world.entity.h"
void DefaultRenderer::render(std::shared_ptr<Entity> entity, double x, double y, double z, float rot, float a)
{
glPushMatrix();
// 4J - removed following line as doesn't really make any sense
// render(entity->bb, (x-entity->xOld), (y-entity->yOld), (z-entity->zOld));
glPopMatrix();
}