diff options
author | paulby <[email protected]> | 2007-02-06 17:08:53 +0000 |
---|---|---|
committer | paulby <[email protected]> | 2007-02-06 17:08:53 +0000 |
commit | a8eb803738d4d122213e4a5079a5e976b0111077 (patch) | |
tree | e616b1138176f1455161ca7e6e7b5e5caaf0707c /src/classes/share | |
parent | 0db515af64eefeffb5556a8f03923e4554fc8232 (diff) |
Fix issue 441
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@772 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/IndexedTriangleArrayRetained.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/classes/share/javax/media/j3d/IndexedTriangleArrayRetained.java b/src/classes/share/javax/media/j3d/IndexedTriangleArrayRetained.java index 40b643e..e578b1f 100644 --- a/src/classes/share/javax/media/j3d/IndexedTriangleArrayRetained.java +++ b/src/classes/share/javax/media/j3d/IndexedTriangleArrayRetained.java @@ -46,7 +46,7 @@ class IndexedTriangleArrayRetained extends IndexedGeometryArrayRetained { PickRay pickRay= (PickRay) pickShape; while (i < validVertexCount) { - for(int j=0; j<4; j++) { + for(int j=0; j<3; j++) { vtxIndexArr[j] = indexCoord[i]; getVertexData(indexCoord[i++], pnts[j]); } @@ -74,7 +74,7 @@ class IndexedTriangleArrayRetained extends IndexedGeometryArrayRetained { case PickShape.PICKSEGMENT: PickSegment pickSegment = (PickSegment) pickShape; while (i < validVertexCount) { - for(int j=0; j<4; j++) { + for(int j=0; j<3; j++) { vtxIndexArr[j] = indexCoord[i]; getVertexData(indexCoord[i++], pnts[j]); } @@ -105,7 +105,7 @@ class IndexedTriangleArrayRetained extends IndexedGeometryArrayRetained { ((PickBounds) pickShape).bounds; while (i < validVertexCount) { - for(int j=0; j<4; j++) { + for(int j=0; j<3; j++) { vtxIndexArr[j] = indexCoord[i]; getVertexData(indexCoord[i++], pnts[j]); } @@ -135,7 +135,7 @@ class IndexedTriangleArrayRetained extends IndexedGeometryArrayRetained { ((PickBounds) pickShape).bounds; while (i < validVertexCount) { - for(int j=0; j<4; j++) { + for(int j=0; j<3; j++) { vtxIndexArr[j] = indexCoord[i]; getVertexData(indexCoord[i++], pnts[j]); } @@ -165,7 +165,7 @@ class IndexedTriangleArrayRetained extends IndexedGeometryArrayRetained { ((PickBounds) pickShape).bounds; while (i < validVertexCount) { - for(int j=0; j<4; j++) { + for(int j=0; j<3; j++) { vtxIndexArr[j] = indexCoord[i]; getVertexData(indexCoord[i++], pnts[j]); } @@ -194,7 +194,7 @@ class IndexedTriangleArrayRetained extends IndexedGeometryArrayRetained { case PickShape.PICKCYLINDER: PickCylinder pickCylinder= (PickCylinder) pickShape; while (i < validVertexCount) { - for(int j=0; j<4; j++) { + for(int j=0; j<3; j++) { vtxIndexArr[j] = indexCoord[i]; getVertexData(indexCoord[i++], pnts[j]); } @@ -224,7 +224,7 @@ class IndexedTriangleArrayRetained extends IndexedGeometryArrayRetained { PickCone pickCone= (PickCone) pickShape; while (i < validVertexCount) { - for(int j=0; j<4; j++) { + for(int j=0; j<3; j++) { vtxIndexArr[j] = indexCoord[i]; getVertexData(indexCoord[i++], pnts[j]); } |