checkpoint
authoradam <adam@megacz.com>
Wed, 5 Dec 2007 04:07:22 +0000 (20:07 -0800)
committeradam <adam@megacz.com>
Wed, 5 Dec 2007 04:07:22 +0000 (20:07 -0800)
darcs-hash:20071205040722-5007d-97201547773e464dbcd363718ed6f2a518a3b6f8.gz

Makefile
src/edu/berkeley/qfat/Geom.java [moved from src/Geom.java with 99% similarity]
src/edu/berkeley/qfat/Main.java [moved from src/Main.java with 99% similarity]
src/edu/berkeley/qfat/StlFile.java [moved from src/StlFile.java with 99% similarity]
src/edu/berkeley/qfat/StlFileParser.java [moved from src/StlFileParser.java with 98% similarity]

index 7dd5bb1..7436dce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
 all:
        mkdir -p build
        javac -cp lib/kd.jar -d build `find src -name \*.java`
-       java -cp lib/kd.jar:build Main
+       java -cp lib/kd.jar:build edu.berkeley.qfat.Main
similarity index 99%
rename from src/Geom.java
rename to src/edu/berkeley/qfat/Geom.java
index 9f83c77..48484b6 100644 (file)
@@ -1,3 +1,4 @@
+package edu.berkeley.qfat;
 import java.awt.*;
 import java.util.*;
 import java.awt.event.*;
@@ -716,7 +717,7 @@ public class Geom implements Iterable<Geom.T> {
         public String toString() { return "<"+x+","+y+","+z+">"; }
     }
 
-    /** affine matrix */
+    /** affine matrix; immutable */
     public static class M {
         //
         //  [ a b c d ]   [ x ]
similarity index 99%
rename from src/Main.java
rename to src/edu/berkeley/qfat/Main.java
index 8b97bf3..65c6c2a 100644 (file)
@@ -1,3 +1,4 @@
+package edu.berkeley.qfat;
 import java.awt.*;
 import java.awt.event.*;
 import javax.swing.*;
similarity index 99%
rename from src/StlFile.java
rename to src/edu/berkeley/qfat/StlFile.java
index d069f48..b1eaca6 100644 (file)
@@ -1,3 +1,4 @@
+package edu.berkeley.qfat;
 import com.sun.j3d.loaders.Loader;
 import com.sun.j3d.loaders.Scene;
 import com.sun.j3d.loaders.SceneBase;
similarity index 98%
rename from src/StlFileParser.java
rename to src/edu/berkeley/qfat/StlFileParser.java
index 8743cca..4f9da31 100644 (file)
@@ -1,3 +1,4 @@
+package edu.berkeley.qfat;
 import java.io.StreamTokenizer;
 import java.io.Reader;
 import java.io.IOException;