summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/graph/geom/opengl/SVertex.java
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-30 13:25:54 +0300
committerRami Santina <[email protected]>2011-03-30 13:25:54 +0300
commit2d7cc275ccea2e11deeaf02f63c7984a6c09bf4f (patch)
treeaae869046fc5c98d17831a2709ed93c48a0c57db /src/com/jogamp/graph/geom/opengl/SVertex.java
parente952e7dbac7a6b746b8465aa63423f1aa138ca27 (diff)
Added inclass comments to OutlineShape
Diffstat (limited to 'src/com/jogamp/graph/geom/opengl/SVertex.java')
-rw-r--r--src/com/jogamp/graph/geom/opengl/SVertex.java7
1 files changed, 1 insertions, 6 deletions
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) {