Package javax.media.j3d

Examples of javax.media.j3d.GeometryArray


/* 2069 */     Geometry g = shapes[0].getGeometry();
/* 2070 */     if (!(g instanceof GeometryArray)) {
/* 2071 */       throw new IllegalArgumentException("Shape3D at index 0 is not a GeometryArray");
/*      */     }
/*      */
/* 2074 */     GeometryArray ga = (GeometryArray)g;
/* 2075 */     this.streamType = getStreamType(ga);
/* 2076 */     this.vertexComponents = getVertexComponents(ga.getVertexFormat());
/*      */
/* 2079 */     addPositionQuantization(positionQuant);
/* 2080 */     addColorQuantization(colorQuant);
/* 2081 */     addNormalQuantization(normalQuant);
/*      */
View Full Code Here


/* 2201 */       throw new IllegalArgumentException("GeometryInfo at index 0 is null");
/*      */     }
/*      */
/* 2204 */     long startTime = 0L;
/*      */
/* 2207 */     GeometryArray ga = geometry[0].getGeometryArray();
/* 2208 */     this.streamType = getStreamType(ga);
/* 2209 */     this.vertexComponents = getVertexComponents(ga.getVertexFormat());
/*      */
/* 2212 */     addPositionQuantization(positionQuant);
/* 2213 */     addColorQuantization(colorQuant);
/* 2214 */     addNormalQuantization(normalQuant);
/*      */
View Full Code Here

TOP

Related Classes of javax.media.j3d.GeometryArray

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.