.. | .. |
---|
23 | 23 | static float epsvertex2 = 0.001f; |
---|
24 | 24 | static boolean linkUV = false; // not uniform at load time |
---|
25 | 25 | |
---|
| 26 | + static boolean smoothmode = false; |
---|
| 27 | + |
---|
26 | 28 | static Wav wav = new Wav("/Users/nbriere/0ut/wavs/monoformat"); // output"); |
---|
27 | 29 | static boolean hassound = false; |
---|
28 | 30 | static boolean savesound = false; |
---|
.. | .. |
---|
41 | 43 | static void Assert(boolean b) |
---|
42 | 44 | { |
---|
43 | 45 | if (!b) |
---|
| 46 | + { |
---|
| 47 | + b = !!b; |
---|
44 | 48 | new Exception().printStackTrace(); // assert(b); |
---|
| 49 | + |
---|
| 50 | + } |
---|
45 | 51 | } |
---|
46 | 52 | |
---|
47 | 53 | public void init() |
---|
.. | .. |
---|
620 | 626 | |
---|
621 | 627 | System.out.println("jarfile = " + jarfile); |
---|
622 | 628 | |
---|
623 | | - String command = javaPath + " -Xmx1024m -Djava.library.path=" + jarpath; |
---|
| 629 | + String command = javaPath + " -Xmx2048m -Djava.library.path=" + jarpath; |
---|
624 | 630 | |
---|
625 | 631 | // -Djava.library.path=/Users/nbriere/Projects/shared/lib |
---|
626 | 632 | if (jarfile.charAt(2) == ':') |
---|
627 | 633 | { |
---|
628 | | - command = "\"" + javaPath + "\" -Xmx1024m -Djava.library.path=" + jarpath; |
---|
| 634 | + command = "\"" + javaPath + "\" -Xmx2048m -Djava.library.path=" + jarpath; |
---|
629 | 635 | // On Windows systems, the path is /C:/ |
---|
630 | 636 | jarfile = jarfile.substring(1, jarfile.length()); |
---|
631 | 637 | System.out.println("jarfile = " + jarfile); |
---|
.. | .. |
---|
844 | 850 | //Monitor mon=MonitorFactory.start("myFirstMonitor"); |
---|
845 | 851 | standAlone = true; |
---|
846 | 852 | grafreeD = new Grafreed(); |
---|
847 | | - grafreeD.universe = new Composite(); |
---|
| 853 | + grafreeD.universe = new cGroup(); |
---|
848 | 854 | grafreeD.universe.name = "Grafreed"; |
---|
849 | 855 | grafreeD.universe.material = new cMaterial(); |
---|
850 | 856 | // theApplet3D.universe.textures = CameraPane.DEFAULT_TEXTURE; |
---|
.. | .. |
---|
870 | 876 | static int depth = 0; |
---|
871 | 877 | static java.util.Stack stack = new java.util.Stack(); |
---|
872 | 878 | static boolean traceoff = false; // true; |
---|
873 | | - static float[] colorV = new float[5]; |
---|
| 879 | + static float[] colorV = new float[4]; // 5]; |
---|
874 | 880 | |
---|
875 | 881 | static void traceon() |
---|
876 | 882 | { |
---|