From 42107f9a01652cb2f47228d20c1148a2a22f6a63 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Tue, 22 May 2018 19:33:31 -0400
Subject: [PATCH] new torus code and VR

---
 cSpring.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/cSpring.java b/cSpring.java
index 6bebd0f..2986693 100644
--- a/cSpring.java
+++ b/cSpring.java
@@ -1057,7 +1057,7 @@
                 vect1.set(v);
                 LA.xformPos(vect1,toRoot,vect1);
             
-                handles.get(usedrep.VertexCount()-1-i).set(vect1);
+                handles.get(i).set(vect1);
             }
         }
         
@@ -2325,6 +2325,7 @@
 
         abstract Point3D forceOn(DynamicNode N);
     }
+    
     Point3D force = new Point3D();
     Point3D dir = new Point3D();
 

--
Gitblit v1.6.2