Normand Briere
2019-05-05 44b1501b5c4cd60ea67cc3d0971ed53f53b594e6
LA.java
....@@ -160,6 +160,7 @@
160160
161161 static cVector xformDir(cVector v, double mat[][])
162162 {
163
+ new Exception().printStackTrace();
163164 System.exit(0);
164165 cVector temp = new cVector();
165166 xformDir(v, mat, temp);
....@@ -623,6 +624,7 @@
623624 private static int indxr[] = new int[4];
624625 private static int indxc[] = new int[4];
625626
627
+ static double[][] Identity = new double[4][4];
626628
627629 static int SIZE = 0; // 65536*64;
628630
....@@ -638,6 +640,8 @@
638640 costable[i] = Math.cos(PI2 * i/SIZE);
639641 sintable[i] = Math.sin(PI2 * i*i/SIZE/SIZE);
640642 }
643
+
644
+ LA.matIdentity(Identity);
641645 }
642646
643647 static double cos(double x0)