# HG changeset patch # User saiam # Date 1227977661 0 # Node ID 5a81c6dc5451fa2f29d9215a1cf2ec6b667c2d1c # Parent 81406f8b7535203a763c11695b0115493f5f4371 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??. diff -r 81406f8b7535 -r 5a81c6dc5451 src/proto2/Physics.cc --- 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. diff -r 81406f8b7535 -r 5a81c6dc5451 src/proto2/Physics.hh --- 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.