Normand Briere
2019-07-27 1af7d3700724834e40ad8636bc9a56cdc3b19b15
Grafreed.java
....@@ -23,6 +23,8 @@
2323 static float epsvertex2 = 0.001f;
2424 static boolean linkUV = false; // not uniform at load time
2525
26
+ static boolean smoothmode = false;
27
+
2628 static Wav wav = new Wav("/Users/nbriere/0ut/wavs/monoformat"); // output");
2729 static boolean hassound = false;
2830 static boolean savesound = false;
....@@ -41,7 +43,11 @@
4143 static void Assert(boolean b)
4244 {
4345 if (!b)
46
+ {
47
+ b = !!b;
4448 new Exception().printStackTrace(); // assert(b);
49
+
50
+ }
4551 }
4652
4753 public void init()
....@@ -620,12 +626,12 @@
620626
621627 System.out.println("jarfile = " + jarfile);
622628
623
- String command = javaPath + " -Xmx1024m -Djava.library.path=" + jarpath;
629
+ String command = javaPath + " -Xmx2048m -Djava.library.path=" + jarpath;
624630
625631 // -Djava.library.path=/Users/nbriere/Projects/shared/lib
626632 if (jarfile.charAt(2) == ':')
627633 {
628
- command = "\"" + javaPath + "\" -Xmx1024m -Djava.library.path=" + jarpath;
634
+ command = "\"" + javaPath + "\" -Xmx2048m -Djava.library.path=" + jarpath;
629635 // On Windows systems, the path is /C:/
630636 jarfile = jarfile.substring(1, jarfile.length());
631637 System.out.println("jarfile = " + jarfile);
....@@ -844,7 +850,7 @@
844850 //Monitor mon=MonitorFactory.start("myFirstMonitor");
845851 standAlone = true;
846852 grafreeD = new Grafreed();
847
- grafreeD.universe = new Composite();
853
+ grafreeD.universe = new cGroup();
848854 grafreeD.universe.name = "Grafreed";
849855 grafreeD.universe.material = new cMaterial();
850856 // theApplet3D.universe.textures = CameraPane.DEFAULT_TEXTURE;
....@@ -870,7 +876,7 @@
870876 static int depth = 0;
871877 static java.util.Stack stack = new java.util.Stack();
872878 static boolean traceoff = false; // true;
873
- static float[] colorV = new float[5];
879
+ static float[] colorV = new float[4]; // 5];
874880
875881 static void traceon()
876882 {