projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added object remove_listener so that you can get a message if some objects are remove...
[supertux.git]
/
lib
/
special
/
collision.cpp
diff --git
a/lib/special/collision.cpp
b/lib/special/collision.cpp
index
889899f
..
46ed0bf
100644
(file)
--- a/
lib/special/collision.cpp
+++ b/
lib/special/collision.cpp
@@
-146,7
+146,6
@@
Collision::rectangle_aatriangle(CollisionHit& hit, const Rectangle& rect,
return false;
float time = depth / -(normal * movement);
if(time < hit.time) {
return false;
float time = depth / -(normal * movement);
if(time < hit.time) {
- printf("Time: %f.\n", time);
hit.depth = depth;
hit.time = time;
hit.normal = normal;
hit.depth = depth;
hit.time = time;
hit.normal = normal;