From a742f6cebf1d471217d836e07934e5c02c22b6db Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Wed, 01 May 2019 16:43:56 -0400
Subject: [PATCH] Fix skin default.

---
 LA.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/LA.java b/LA.java
index 20a9211..e1aac14 100644
--- a/LA.java
+++ b/LA.java
@@ -160,6 +160,7 @@
 
     static cVector xformDir(cVector v, double mat[][])
     {
+                    new Exception().printStackTrace();
         System.exit(0);
         cVector temp = new cVector();
         xformDir(v, mat, temp);
@@ -623,6 +624,7 @@
     private static int indxr[] = new int[4];
     private static int indxc[] = new int[4];
     
+    static double[][] Identity = new double[4][4];
     
     static int SIZE = 0; // 65536*64;
     
@@ -638,6 +640,8 @@
             costable[i] = Math.cos(PI2 * i/SIZE);
             sintable[i] = Math.sin(PI2 * i*i/SIZE/SIZE);
         }
+        
+        LA.matIdentity(Identity);
     }
     
     static double cos(double x0)

--
Gitblit v1.6.2