diff --git a/src/main/java/com/aparapi/examples/oopnbody/Main.java b/src/main/java/com/aparapi/examples/oopnbody/Main.java index 9eb4ef8..66b2f08 100644 --- a/src/main/java/com/aparapi/examples/oopnbody/Main.java +++ b/src/main/java/com/aparapi/examples/oopnbody/Main.java @@ -147,7 +147,7 @@ public NBodyKernel(Range _range) { // divide into two 'spheres of bodies' by adjusting x if ((body % 2) == 0) { x += maxDist * 10.0f; - bodies[body] = new Body(x, y, z, 0.1f, false); + bodies[body] = new Body(x, y, z, 0.01f, false); } else { bodies[body] = new Body(x, y, z, 1f, true); }