From 547c9203ab5d8e4bee36d1cbb453dfa36bbec4ef Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Tue, 27 Aug 2019 23:45:18 -0400
Subject: [PATCH] Test has big data.

---
 Camera.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Camera.java b/Camera.java
index ba4af41..63862a2 100644
--- a/Camera.java
+++ b/Camera.java
@@ -52,7 +52,7 @@
             perspective = true;
             break;
         case 1: // '\001'
-            location = LA.newVector(4, 0, 0);
+            location = LA.newVector(0, 0, 4); // Needed for translation direction
             perspective = false;
             break;
         case 2: // '\002'
@@ -63,7 +63,7 @@
             //LA.matXRotate(fromScreen, LA.toRadians(90));
             break;
         case 3: // '\003'
-            location = LA.newVector(0, 0, 4);
+            location = LA.newVector(4, 0, 0); // Needed for translation direction
             //LA.matZRotate(toScreen, LA.toRadians(-90));
             //LA.matXRotate(toScreen, LA.toRadians(-90));
             //LA.matXRotate(fromScreen, LA.toRadians(90));
@@ -476,8 +476,8 @@
     cVector location;
     cVector lookAt;
     cVector direction;
-    double toScreen[][];
-    double fromScreen[][];
+    double[][] toScreen;
+    double[][] fromScreen;
     boolean perspective;
     int hAspect = 0; // Free camera
     int vAspect;

--
Gitblit v1.6.2