From 1c1a7d7ad51ea2041a5a121f034d4d748827b16c Mon Sep 17 00:00:00 2001 From: Rami Santina Date: Thu, 31 Mar 2011 17:48:15 +0300 Subject: Fix: Outline over triangulation. With triangualtion exluding outter boundary triangles not all hole vertices will be inside the boundary (float issues). Workaround, check for all vertices, need a better solution and should sync with Java Fonts. --- src/com/jogamp/graph/geom/AABBox.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/com/jogamp/graph/geom') diff --git a/src/com/jogamp/graph/geom/AABBox.java b/src/com/jogamp/graph/geom/AABBox.java index f97c43a57..8cd06329e 100644 --- a/src/com/jogamp/graph/geom/AABBox.java +++ b/src/com/jogamp/graph/geom/AABBox.java @@ -40,12 +40,13 @@ public class AABBox { private float[] high = {-1*Float.MAX_VALUE,-1*Float.MAX_VALUE,-1*Float.MAX_VALUE}; private float[] center = new float[3]; - /** Create a Axis Aligned bounding box (AABBox) where the low and and high MAX float Values. + /** Create a Axis Aligned bounding box (AABBox) + * where the low and and high MAX float Values. */ public AABBox() {} - /** Create an AABBox specifying the coordinates of the low and high - * + /** Create an AABBox specifying the coordinates + * of the low and high * @param lx min x-coordinate * @param ly min y-coordnate * @param lz min z-coordinate -- cgit v1.2.3