diff options
author | Rami Santina <rami.santina@gmail.com> | 2011-04-08 17:35:18 +0300 |
---|---|---|
committer | Rami Santina <rami.santina@gmail.com> | 2011-04-08 17:35:18 +0300 |
commit | 65c77a5a8375df3c15fcf36384b700ca03c485f9 (patch) | |
tree | 00c069466e4275aeda9ed7ef58261e9e3c5a95b5 /src | |
parent | 7cd27e4daf27b730908f0b929385bffc2fa3c41d (diff) |
Fix: AABBox setLow/setHigh call resize; removes possible call error
Diffstat (limited to 'src')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/geom/AABBox.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/geom/AABBox.java b/src/jogl/classes/com/jogamp/graph/geom/AABBox.java index 8cd06329e..17a805b31 100644 --- a/src/jogl/classes/com/jogamp/graph/geom/AABBox.java +++ b/src/jogl/classes/com/jogamp/graph/geom/AABBox.java @@ -57,8 +57,8 @@ public class AABBox { public AABBox(float lx, float ly, float lz, float hx, float hy, float hz) { - setLow(lx, ly, lz); - setHigh(hx, hy, hz); + resize(lx, ly, lz); + resize(hx, hy, hz); computeCenter(); } @@ -69,8 +69,8 @@ public class AABBox { */ public AABBox(float[] low, float[] high) { - this.low = low; - this.high = high; + resize(low[0],low[1],low[2]); + resize(high[0],high[1],high[2]); computeCenter(); } |