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:
@@ -21,9 +21,9 @@ public:
|
||||
|
||||
VillagerGolemModel(float g = 0.0f, float yOffset = -7.0f);
|
||||
|
||||
void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
|
||||
void render(std::shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
|
||||
void setupAnim(float time, float r, float bob, float yRot, float xRot, float scale, unsigned int uiBitmaskOverrideAnim=0);
|
||||
void prepareMobModel(shared_ptr<Mob> mob, float time, float r, float a);
|
||||
void prepareMobModel(std::shared_ptr<Mob> mob, float time, float r, float a);
|
||||
|
||||
private:
|
||||
float triangleWave(float bob, float period);
|
||||
|
||||
Reference in New Issue
Block a user