summaryrefslogtreecommitdiff
path: root/src/tesseract/objects/Sphere.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/tesseract/objects/Sphere.java')
-rw-r--r--src/tesseract/objects/Sphere.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tesseract/objects/Sphere.java b/src/tesseract/objects/Sphere.java
index 3605fb0..ddf962a 100644
--- a/src/tesseract/objects/Sphere.java
+++ b/src/tesseract/objects/Sphere.java
@@ -58,8 +58,8 @@ public class Sphere extends PhysicalObject {
final Vector3f position, final Color theColor) {
super(position, mass);
myColor = new Color3f(theColor);
- setShape(createShape(DEFAULT_DIVISIONS));
radius = theRadius;
+ setShape(createShape(DEFAULT_DIVISIONS));
if (inverseMass != 0) {
inverseInertiaTensor.m00 = 2f / 5 / inverseMass