Poistin PhysicsWorld:collided funktion koska sit? ei k?ytetty mis??n enk? kyennyt ymm?rt?m??n mit? sen olisi pit?nyt tehd? tai
miss? sit? olisi voitu k?ytt??.
--- a/src/proto2/Physics.cc Sat Nov 29 16:12:25 2008 +0000
+++ b/src/proto2/Physics.cc Sat Nov 29 16:54:21 2008 +0000
@@ -319,10 +319,6 @@
velocity = tprojection - nprojection;
}
-/*bool PhysicsWorld::collided (Vector oldPos, Vector newPos) {
- return false;
- }*/
-
/**
* Integrates given force over time and stores new position to
* posAfterTick and new velocity to velAfterTick.
--- a/src/proto2/Physics.hh Sat Nov 29 16:12:25 2008 +0000
+++ b/src/proto2/Physics.hh Sat Nov 29 16:54:21 2008 +0000
@@ -67,11 +67,6 @@
void generateTerrain (int seed);
/**
- * TODO: We'll have to think about this.
- */
- bool collided (Vector prevPos, Vector newPos);
-
- /**
* Return a normal for the wall that has been hit.
*
* @param hitPoint The point of the wall that has been hit.