summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-04-08 17:31:17 +0300
committerRami Santina <[email protected]>2011-04-08 17:31:17 +0300
commit7cd27e4daf27b730908f0b929385bffc2fa3c41d (patch)
tree0c452e68cb64ee416719d17b0a1e1e94a1e87da2 /src/jogl/classes/com/jogamp
parenta140ed4798896ed5d786fbe63e7241309a4b4a91 (diff)
Added getBounds impl to region, returning AABBox
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rwxr-xr-xsrc/jogl/classes/com/jogamp/graph/curve/Region.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/Region.java b/src/jogl/classes/com/jogamp/graph/curve/Region.java
index 051cb1c38..40161f067 100755
--- a/src/jogl/classes/com/jogamp/graph/curve/Region.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/Region.java
@@ -29,6 +29,7 @@ package com.jogamp.graph.curve;
import java.util.ArrayList;
+import com.jogamp.graph.geom.AABBox;
import com.jogamp.graph.geom.Triangle;
import com.jogamp.graph.geom.Vertex;
import com.jogamp.opengl.util.PMVMatrix;
@@ -117,6 +118,8 @@ public interface Region {
*/
public void destroy();
+ public AABBox getBounds();
+
public boolean isFlipped();
/** Set if the y coordinate of the region should be flipped