Poistin PhysicsWorld:collided funktion koska sit? ei k?ytetty mis??n enk? kyennyt ymm?rt?m??n mit? sen olisi pit?nyt tehd? tai
authorsaiam
Sat, 29 Nov 2008 16:54:21 +0000
changeset 131 5a81c6dc5451
parent 130 81406f8b7535
child 132 957c3c184ea0
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??.
src/proto2/Physics.cc
src/proto2/Physics.hh
--- 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.