From 9765c774768193d79f7bb654edb55adbff5a278c Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 15 Dec 2007 18:52:38 -0800 Subject: [PATCH] checkpoint darcs-hash:20071216025238-5007d-79532241e1cd0a85bcf42e08d21ade3bb366f25f.gz --- src/edu/berkeley/qfat/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/edu/berkeley/qfat/Main.java b/src/edu/berkeley/qfat/Main.java index fb25e46..ee44e4d 100644 --- a/src/edu/berkeley/qfat/Main.java +++ b/src/edu/berkeley/qfat/Main.java @@ -391,6 +391,7 @@ public class Main extends MeshViewer { count++; Mesh.Vertex v = pts[Math.abs(random.nextInt()) % pts.length]; rand(temp,v); + v.recomputeFundamentalQuadricIfNeighborChanged(); } Thread.yield(); repaint(); @@ -399,8 +400,7 @@ public class Main extends MeshViewer { "points_per_second=" + (count*1000)/((double)(System.currentTimeMillis()-then))); - //for(Mesh.Vertex p : goal.vertices()) p.recomputeFundamentalQuadricIfNeighborChanged(); - //for(Mesh.Vertex p : tile.vertices()) p.recomputeFundamentalQuadric(); + for(Mesh.Vertex p : goal.vertices()) p.recomputeFundamentalQuadricIfNeighborChanged(); synchronized(safeTriangles) { safeTriangles.clear(); -- 1.7.10.4