.. | .. |
---|
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() |
---|
.. | .. |
---|
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 | { |
---|