aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/curve/tess
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-06-05 10:37:19 +0300
committerRami Santina <[email protected]>2011-06-05 10:37:19 +0300
commit64c7bea57d353729c93e1f60272e400a712ca47e (patch)
treea6d0451855c0786f48ae846ae8a1370a26ee6dc6 /src/jogl/classes/com/jogamp/graph/curve/tess
parent9cefde9395002717bb6bfde461f4a65c69a888dd (diff)
Fix: transform to Quadratic; Refactor method names
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve/tess')
-rw-r--r--src/jogl/classes/com/jogamp/graph/curve/tess/CDTriangulator2D.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/tess/CDTriangulator2D.java b/src/jogl/classes/com/jogamp/graph/curve/tess/CDTriangulator2D.java
index fce2e1bae..f71105983 100644
--- a/src/jogl/classes/com/jogamp/graph/curve/tess/CDTriangulator2D.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/tess/CDTriangulator2D.java
@@ -77,7 +77,7 @@ public class CDTriangulator2D {
/** Add a curve to the list of profiles provided
* @param polyline a bounding {@link Outline}
*/
- public void addCurve(Outline polyline){
+ public void addCurve(Outline polyline) {
Loop loop = null;
// FIXME: multiple in/out and CW/CCW tests (as follows) ??
@@ -103,7 +103,7 @@ public class CDTriangulator2D {
/** Generate the triangulation of the provided
* List of {@link Outline}s
*/
- public ArrayList<Triangle> generateTriangulation(){
+ public ArrayList<Triangle> generate() {
for(int i=0;i<loops.size();i++) {
Loop loop = loops.get(i);
int numTries = 0;