diff --git a/tests/gjk_boxes.html b/tests/gjk_boxes.html
index 9e95b33..1071d86 100644
--- a/tests/gjk_boxes.html
+++ b/tests/gjk_boxes.html
@@ -34,7 +34,7 @@
box2.goblin.updateDerived();
// Set expected values
- var pendepth = 0.04;
+ var pendepth = 0.02;
var contact_normal = new Goblin.Vector3( 0, 1, 0 );
var contact_point = new Goblin.Vector3( 0, 1, 0.4 );
@@ -62,7 +62,7 @@
box2.goblin.updateDerived();
// Set expected values
- var pendepth = 0.28;
+ var pendepth = 0.26;
var contact_normal = new Goblin.Vector3( 0, 1, 0 );
var contact_point = new Goblin.Vector3( 1.5, 0.875, 0.5 );
@@ -92,7 +92,7 @@
box2.goblin.updateDerived();
// Set expected values
- var pendepth = 0.04;
+ var pendepth = 0.02;
var contact_normal = new Goblin.Vector3( 0, 1, 0 );
var contact_point = new Goblin.Vector3( 0.2829, 1, 0.2829 );
@@ -121,7 +121,7 @@
box2.goblin.updateDerived();
// Set expected values
- var pendepth = 0.0371;
+ var pendepth = 0.017;
var contact_normal = new Goblin.Vector3( 0, 1, 0 );
var contact_point = new Goblin.Vector3( 2, 0, 0 );
diff --git a/tests/gjk_spheres.html b/tests/gjk_spheres.html
index 4effe0b..dd8f771 100644
--- a/tests/gjk_spheres.html
+++ b/tests/gjk_spheres.html
@@ -34,7 +34,7 @@
sphere2.goblin.updateDerived();
// Set expected values
- var pendepth = 0.03;
+ var pendepth = 0.01;
var contact_normal = new Goblin.Vector3( 0, -1, 0 );
var contact_point = new Goblin.Vector3( 0, 0, 0 );
@@ -62,7 +62,7 @@
sphere2.goblin.updateDerived();
// Set expected values
- var pendepth = 0.52;
+ var pendepth = 0.5;
var contact_normal = new Goblin.Vector3( 0.2, -0.97, 0 );
var contact_point = new Goblin.Vector3( 0, -0.25, 0 );
@@ -91,7 +91,7 @@
sphere2.goblin.updateDerived();
// Set expected values
- var pendepth = 0.52;
+ var pendepth = 0.5;
var contact_normal = new Goblin.Vector3( 0.1486, -0.98, -0.1486 );
var contact_point = new Goblin.Vector3( -2, 0.25, 0 );
@@ -120,7 +120,7 @@
sphere2.goblin.updateDerived();
// Set expected values
- var pendepth = 0.52;
+ var pendepth = 0.5;
var contact_normal = new Goblin.Vector3( -0.1486, -0.98, 0.1486 );
var contact_point = new Goblin.Vector3( -2, 0, 0 );