From 02e145cb923d601395acc7f15ae9e13f85ef2fbb Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Mon, 02 Jul 2018 21:38:58 -0400
Subject: [PATCH] Hip orientation.

---
 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