Fixed issue 368

This commit is contained in:
codeanticode
2010-08-28 14:58:47 +00:00
parent dcc2800673
commit 8c44deba87
2 changed files with 2 additions and 2 deletions
@@ -952,6 +952,7 @@ public class PGraphics extends PImage implements PConstants {
vertex[X] = x;
vertex[Y] = y;
vertex[Z] = 0;
vertex[EDGE] = edge ? 1 : 0;
@@ -2024,8 +2024,7 @@ public class PGraphicsAndroid3D extends PGraphics {
}
// Division by three needed because each int element in the buffer is used
// to
// store three coordinates.
// to store three coordinates.
if (vertexBuffer.capacity() / 3 < 3 * faceLength[j]) {
expandBuffers();
}