diff options
author | Rami Santina <[email protected]> | 2011-03-30 13:25:54 +0300 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-03-30 13:25:54 +0300 |
commit | 2d7cc275ccea2e11deeaf02f63c7984a6c09bf4f (patch) | |
tree | aae869046fc5c98d17831a2709ed93c48a0c57db /src/com/jogamp/graph/geom | |
parent | e952e7dbac7a6b746b8465aa63423f1aa138ca27 (diff) |
Added inclass comments to OutlineShape
Diffstat (limited to 'src/com/jogamp/graph/geom')
-rw-r--r-- | src/com/jogamp/graph/geom/Vertex.java | 2 | ||||
-rw-r--r-- | src/com/jogamp/graph/geom/opengl/SVertex.java | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/com/jogamp/graph/geom/Vertex.java b/src/com/jogamp/graph/geom/Vertex.java index 9d19c89f6..0e4e5e8df 100644 --- a/src/com/jogamp/graph/geom/Vertex.java +++ b/src/com/jogamp/graph/geom/Vertex.java @@ -40,8 +40,6 @@ public interface Vertex extends Comparable<Vertex>, Cloneable { T create(float x, float y, float z); T create(float[] coordsBuffer, int offset, int length); - - // T[] create(T ... v); } void setCoord(float x, float y); diff --git a/src/com/jogamp/graph/geom/opengl/SVertex.java b/src/com/jogamp/graph/geom/opengl/SVertex.java index 076ac7456..37ce71a40 100644 --- a/src/com/jogamp/graph/geom/opengl/SVertex.java +++ b/src/com/jogamp/graph/geom/opengl/SVertex.java @@ -61,11 +61,6 @@ public class SVertex implements Vertex { public SVertex create(float[] coordsBuffer, int offset, int length) { return new SVertex(coordsBuffer, offset, length); } - - /* @Override - public Vertex[] create(Vertex ... v) { - return v; - } */ } public SVertex() { @@ -98,7 +93,7 @@ public class SVertex implements Vertex { throw new IndexOutOfBoundsException("coordsBuffer too small: "+coordsBuffer.length+" - "+offset+" < "+length); } if(length > 3) { - throw new IndexOutOfBoundsException("length too bug: "+length+" > "+3); + throw new IndexOutOfBoundsException("length too big: "+length+" > "+3); } int i=0; while(i<length) { |