projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ca885
)
Disable collision fix, its broke unit tests
author
proller
<proller@github.com>
Sun, 30 Jun 2013 20:26:54 +0000
(
00:26
+0400)
committer
proller
<proller@github.com>
Sun, 30 Jun 2013 20:26:54 +0000
(
00:26
+0400)
src/collision.cpp
patch
|
blob
|
history
diff --git
a/src/collision.cpp
b/src/collision.cpp
index df3878f4c6c26dcdb638bbcb6cf4a179021d9727..0c67abe8c3b5e7fe219b6637ebafecafc26105a7 100644
(file)
--- a/
src/collision.cpp
+++ b/
src/collision.cpp
@@
-32,7
+32,8
@@
with this program; if not, write to the Free Software Foundation, Inc.,
#include "profiler.h"
// float error is 10 - 9.96875 = 0.03125
-#define COLL_ZERO 0.032
+//#define COLL_ZERO 0.032 // broken unit tests
+#define COLL_ZERO 0
// Helper function:
// Checks for collision of a moving aabbox with a static aabbox