Examples of lockMeshes()


Examples of com.jme.scene.SharedNode.lockMeshes()

                s = VegetationBank.getNewSharedVegetation(this.vegetationMap[id]);
                s.setLocalTranslation((x*VEGETATION_STEP)*VEGETATION_PACK_SIZE, 55, (z*VEGETATION_STEP)*VEGETATION_PACK_SIZE);
                s.getLocalTranslation().y = getYat(s.getLocalTranslation().x, s.getLocalTranslation().z);
                VEGETATION_AVERAGE_COUNTER++;
                this.attachChild(s);
                s.lockMeshes();
                id++;
            }
        }
       
        this.lockMeshes();
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.