projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed non-used argument, compiler warnings
[physics.git]
/
src
/
Entities
/
PhysicsEntity.cpp
diff --git
a/src/Entities/PhysicsEntity.cpp
b/src/Entities/PhysicsEntity.cpp
index
060ef62
..
d8615da
100644
(file)
--- a/
src/Entities/PhysicsEntity.cpp
+++ b/
src/Entities/PhysicsEntity.cpp
@@
-74,7
+74,7
@@
void PhysicsEntity::applyForce(const Vector2& force)
{
applyForce(force, position);
}
{
applyForce(force, position);
}
-void PhysicsEntity::applyForce(const Vector2& force, const Vector2&
at
)
+void PhysicsEntity::applyForce(const Vector2& force, const Vector2&
/*at*/
)
{
this->force += force;
}
{
this->force += force;
}
@@
-83,7
+83,7
@@
void PhysicsEntity::applyImpulse(const Vector2& impulse)
{
applyImpulse(impulse, position);
}
{
applyImpulse(impulse, position);
}
-void PhysicsEntity::applyImpulse(const Vector2& impulse, const Vector2&
at
)
+void PhysicsEntity::applyImpulse(const Vector2& impulse, const Vector2&
/*at*/
)
{
velocity += impulse;
}
{
velocity += impulse;
}