List of usage examples for javax.media.j3d GeometryArray getCoordinates
public void getCoordinates(int index, Point3d coordinates[])
From source file:MyJava3D.java
public void drawQuad(Graphics graphics, GeometryUpdater updater, GeometryArray geometryArray, int index) { for (int n = 0; n < 4; n++) updater.update(graphics, this, geometryArray, index + n, frameNumber); geometryArray.getCoordinates(index, pointArray); for (int n = 0; n < 4; n++) projectPoint(pointArray[n], projectedPointArray[n]); drawQuad(graphics, geometryArray, index, projectedPointArray); }