Examples of calculateFaceNormals()


Examples of org.xith3d.scenegraph.TriangleArray.calculateFaceNormals()

       
        TriangleArray geom = new TriangleArray(vertexCount);
       
        geom.setCoordinates(0, coords);
        geom.setTextureCoordinates(0, 0, texCoords);
        geom.calculateFaceNormals();
       
        geom.setOptimization(Optimization.USE_DISPLAY_LISTS);
       
        terrainShape.setGeometry(geom);
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.