aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/graph/geom/AABBox.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-03-29 15:05:49 +0200
committerSven Gothel <[email protected]>2011-03-29 15:05:49 +0200
commit5f0293b84d0146d9e750ea7e75caaa101ae3b3c3 (patch)
treee95f0c919a0a385cf70ef6846295a83705c0af60 /src/com/jogamp/graph/geom/AABBox.java
parent4ed4dc3847d8d53a3424011f3d56b00ef246a81e (diff)
Refactoring for public: Remove Line ; public/private API cleanup
Diffstat (limited to 'src/com/jogamp/graph/geom/AABBox.java')
-rw-r--r--src/com/jogamp/graph/geom/AABBox.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/jogamp/graph/geom/AABBox.java b/src/com/jogamp/graph/geom/AABBox.java
index 2e99daa83..a2566b91f 100644
--- a/src/com/jogamp/graph/geom/AABBox.java
+++ b/src/com/jogamp/graph/geom/AABBox.java
@@ -27,7 +27,7 @@
*/
package com.jogamp.graph.geom;
-import jogamp.graph.math.VectorFloatUtil;
+import com.jogamp.graph.math.VectorUtil;
/**
* Axis Aligned Bounding Box.
@@ -186,7 +186,7 @@ public class AABBox {
public float getSize(){
- return VectorFloatUtil.computeLength(low, high);
+ return VectorUtil.computeLength(low, high);
}
public float[] getCenter() {
@@ -211,17 +211,17 @@ public class AABBox {
diffH[1] = high[1] - center[1];
diffH[2] = high[2] - center[2];
- diffH = VectorFloatUtil.scale(diffH, size);
+ diffH = VectorUtil.scale(diffH, size);
float[] diffL = new float[3];
diffL[0] = low[0] - center[0];
diffL[1] = low[1] - center[1];
diffL[2] = low[2] - center[2];
- diffL = VectorFloatUtil.scale(diffL, size);
+ diffL = VectorUtil.scale(diffL, size);
- high = VectorFloatUtil.vectorAdd(center, diffH);
- low = VectorFloatUtil.vectorAdd(center, diffL);
+ high = VectorUtil.vectorAdd(center, diffH);
+ low = VectorUtil.vectorAdd(center, diffL);
}
public float getX() {