Author: paperwing
Date: 2011-07-21 06:48:52 -0700 (Thu, 21 Jul 2011)
New Revision: 26232

Modified:
   
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/Graphics.java
Log:


Modified: 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/Graphics.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/Graphics.java
 2011-07-21 13:47:46 UTC (rev 26231)
+++ 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/Graphics.java
 2011-07-21 13:48:52 UTC (rev 26232)
@@ -1853,12 +1853,12 @@
                        // System.out.println("total after remove: " + 
totalNodesToVisit.size());
                        
                        
-                       double greatestDistance = 
Math.sqrt(greatestDistanceSquared) * 0.75;
+                       double greatestDistance = 
Math.sqrt(greatestDistanceSquared) * 1.5;
                        
                        // currentCentralLocation.set(nextCentralLocation);
-                       currentCentralLocation.addLocal(0, 
-                                       (Math.random() * 2 * greatestDistance + 
greatestDistance) * 1.25,
-                                       0);
+                       currentCentralLocation.addLocal((Math.random() * 2 * 
greatestDistance - greatestDistance) * 1.65, 
+                                       (Math.random() * 2 * greatestDistance - 
greatestDistance) * 1.65,
+                                       (Math.random() * 2 * greatestDistance - 
greatestDistance) * 0.02);
                        
                        if (greatestDistanceSquared < 0.2) {
                                currentCentralLocation.addLocal(new 
Vector3(0.6, -0.6, 0));

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to