Package com.bulletphysics.extras.gimpact

Examples of com.bulletphysics.extras.gimpact.GImpactMeshShape.updateBound()


        Bunny.NUM_TRIANGLES, Bunny.getIndexBuffer(), 4 * 3,
        Bunny.NUM_VERTICES, Bunny.getVertexBuffer(), 4 * 3);

    GImpactMeshShape trimesh = new GImpactMeshShape(indexVertexArrays);
    trimesh.setLocalScaling(new Vector3f(4f, 4f, 4f));
    trimesh.updateBound();
    trimeshShape = trimesh;

    // register algorithm
    GImpactCollisionAlgorithm.registerAlgorithm(dispatcher);
  }
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.