diff options
author | Rami Santina <[email protected]> | 2011-03-30 16:38:14 +0300 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-03-30 16:38:14 +0300 |
commit | 8e5d620eae1dcc1f1178e09c1d5172324541f503 (patch) | |
tree | f2d26265a6d2ee46fba6bae368fbde36428418a8 /src/com/jogamp/graph/curve/opengl | |
parent | 133edeb70921dbcae3ec7cc76f1bc6dd0cd36da8 (diff) | |
parent | 630a9ea52b16da6badb31a98b70893f8d294b4e8 (diff) |
Merge with sgothel
Diffstat (limited to 'src/com/jogamp/graph/curve/opengl')
-rw-r--r-- | src/com/jogamp/graph/curve/opengl/RegionRenderer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/jogamp/graph/curve/opengl/RegionRenderer.java b/src/com/jogamp/graph/curve/opengl/RegionRenderer.java index a1d888da9..dfeff1b55 100644 --- a/src/com/jogamp/graph/curve/opengl/RegionRenderer.java +++ b/src/com/jogamp/graph/curve/opengl/RegionRenderer.java @@ -63,7 +63,7 @@ public abstract class RegionRenderer extends Renderer { outlineShape.transformOutlines(OutlineShape.QUADRATIC_NURBS); - ArrayList<Triangle<Vertex>> triangles = (ArrayList<Triangle<Vertex>>) outlineShape.triangulate(sharpness); + ArrayList<Triangle> triangles = (ArrayList<Triangle>) outlineShape.triangulate(sharpness); ArrayList<Vertex> vertices = (ArrayList<Vertex>) outlineShape.getVertices(); region.addVertices(vertices); region.addTriangles(triangles); @@ -84,7 +84,7 @@ public abstract class RegionRenderer extends Renderer { for(OutlineShape outlineShape:outlineShapes){ outlineShape.transformOutlines(OutlineShape.QUADRATIC_NURBS); - ArrayList<Triangle<Vertex>> triangles = outlineShape.triangulate(sharpness); + ArrayList<Triangle> triangles = outlineShape.triangulate(sharpness); region.addTriangles(triangles); ArrayList<Vertex> vertices = outlineShape.getVertices(); |