summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/geom
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/geom
parent9cefde9395002717bb6bfde461f4a65c69a888dd (diff)
Fix: transform to Quadratic; Refactor method names
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/geom')
-rw-r--r--src/jogl/classes/com/jogamp/graph/geom/Outline.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/geom/Outline.java b/src/jogl/classes/com/jogamp/graph/geom/Outline.java
index 6c1557f7b..9e90e5a2c 100644
--- a/src/jogl/classes/com/jogamp/graph/geom/Outline.java
+++ b/src/jogl/classes/com/jogamp/graph/geom/Outline.java
@@ -57,7 +57,7 @@ public class Outline implements Cloneable, Comparable<Outline> {
public Outline() {
}
- public final int getVertexNumber() {
+ public final int getVertexCount() {
return vertices.size();
}
@@ -207,13 +207,13 @@ public class Outline implements Cloneable, Comparable<Outline> {
return false;
}
final Outline o = (Outline) obj;
- if(getVertexNumber() != o.getVertexNumber()) {
+ if(getVertexCount() != o.getVertexCount()) {
return false;
}
if( !getBounds().equals( o.getBounds() ) ) {
return false;
}
- for (int i=getVertexNumber()-1; i>=0; i--) {
+ for (int i=getVertexCount()-1; i>=0; i--) {
if( ! getVertex(i).equals( o.getVertex(i) ) ) {
return false;
}