diff options
Diffstat (limited to 'src/com/jogamp/graph/geom/AABBox.java')
-rw-r--r-- | src/com/jogamp/graph/geom/AABBox.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/com/jogamp/graph/geom/AABBox.java b/src/com/jogamp/graph/geom/AABBox.java index 9199e5253..2e99daa83 100644 --- a/src/com/jogamp/graph/geom/AABBox.java +++ b/src/com/jogamp/graph/geom/AABBox.java @@ -47,6 +47,11 @@ public class AABBox { computeCenter(); } + + public String toString() { + return "[ "+low[0]+"/"+low[1]+"/"+low[1]+" .. "+high[0]+"/"+high[0]+"/"+high[0]+", ctr "+ + center[0]+"/"+center[1]+"/"+center[1]+" ]"; + } public AABBox(float[] low, float[] high) @@ -56,7 +61,7 @@ public class AABBox { computeCenter(); } - + public float[] getHigh() { return high; |