named members m_* to quite -Wshadow
[physics.git] / src / Effects / Screen.cpp
index 770a456..d75df37 100644 (file)
@@ -34,7 +34,7 @@ Screen::~Screen()
 
 /// ***** Public Class Methods *****
 
-Vector2 Screen::positionDelta(const PhysicsEntity* e, float time_step) const
+Vector2 Screen::positionDelta(const PhysicsEntity* e, float /*time_step*/) const
 {
     const Vector2& pos = e->positionRaw();
 
@@ -61,14 +61,14 @@ Vector2 Screen::positionDelta(const PhysicsEntity* e, float time_step) const
     return acc;
 }
 
-Vector2 Screen::velocityDelta(const PhysicsEntity* e, float time_step) const
+Vector2 Screen::velocityDelta(const PhysicsEntity* e, float /*time_step*/) const
 {
     const Vector2& pos = e->positionRaw();
     const Vector2& velo = e->velocityRaw();
 
     Vector2 acc(0,0);
 
-    float CoR = e->CoR;
+    float CoR = e->m_CoR;
     float radius = 0;
     const Ball* b = dynamic_cast<const Ball*>(e);
     if( b != NULL )