Normand Briere
2019-06-26 89b25e7cc97f6fe221dfd41c4d463500f8a31bc1
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()
....@@ -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 {