From 7cd27e4daf27b730908f0b929385bffc2fa3c41d Mon Sep 17 00:00:00 2001 From: Rami Santina Date: Fri, 8 Apr 2011 17:31:17 +0300 Subject: Added getBounds impl to region, returning AABBox --- src/jogl/classes/com/jogamp/graph/curve/Region.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/jogl/classes/com/jogamp/graph') 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 -- cgit v1.2.3