diff options
Diffstat (limited to 'src/tesseract/objects/Particle.java')
-rw-r--r-- | src/tesseract/objects/Particle.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tesseract/objects/Particle.java b/src/tesseract/objects/Particle.java index 6dcc864..b3b6274 100644 --- a/src/tesseract/objects/Particle.java +++ b/src/tesseract/objects/Particle.java @@ -75,7 +75,7 @@ public class Particle extends PhysicalObject { cAttr = new ColoringAttributes(color, ColoringAttributes.FASTEST); Appearance appearance = new Appearance(); appearance.setColoringAttributes(cAttr); - Sphere sphere = new Sphere(RADIUS, Sphere.ENABLE_GEOMETRY_PICKING | Sphere.GEOMETRY_NOT_SHARED, + Sphere sphere = new Sphere(RADIUS, Sphere.ENABLE_GEOMETRY_PICKING, DIVISIONS, appearance); TransformGroup tg = new TransformGroup(); tg.addChild(sphere); |