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.
This commit is contained in:
void_17
2026-03-02 15:58:20 +07:00
parent d63f79325f
commit 7074f35e4b
1373 changed files with 12054 additions and 12054 deletions

View File

@@ -3,7 +3,7 @@
EnderCrystalModel::EnderCrystalModel(float g)
EnderCrystalModel::EnderCrystalModel(float g)
{
glass = new ModelPart(this, L"glass");
glass->texOffs(0, 0)->addBox(-4, -4, -4, 8, 8, 8);
@@ -21,7 +21,7 @@ EnderCrystalModel::EnderCrystalModel(float g)
}
void EnderCrystalModel::render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled)
void EnderCrystalModel::render(std::shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled)
{
glPushMatrix();
glScalef(2, 2, 2);