Normand Briere
2019-08-20 537f4ac57ae2b34f0a04fa63874c8ca6534c9a6d
Box.java
....@@ -1,5 +1,6 @@
11 public class Box extends Object3D implements java.io.Serializable
22 {
3
+ static final long serialVersionUID = 0;
34
45 Box()
56 {
....@@ -78,7 +79,7 @@
7879
7980 void getBounds(cVector min, cVector max, boolean xform)
8081 {
81
- super.getBounds(minima, maxima, xform);
82
+ super.getBounds(min, max, xform);
8283 // july 2014 LA.vecCopy(minima, min);
8384 // LA.vecCopy(maxima, max);
8485 // if (xform)
....@@ -105,10 +106,10 @@
105106 cVector minima;
106107 cVector maxima;
107108 static float umap[] = {
108
- 0, 1, 0, 1, 1, 0, 1, 0
109
+ 0, 1, 0, 1, 1, 0, 1, 0,
109110 };
110111 static float vmap[] = {
111
- 0, 0, 1, 1, 1, 1, 0, 0
112
+ 1, 1, 0, 0, 1, 1, 0, 0,
112113 };
113114 static int faces[][] = {
114115 {