Home | History | Annotate | Download | only in shapes

Lines Matching refs:Mesh

10 import com.jme3.scene.Mesh;
23 public HullCollisionShape(Mesh mesh) {
24 this.points = getPoints(mesh);
47 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null);
48 if (mesh != null) {
49 this.points = getPoints(mesh);
67 protected float[] getPoints(Mesh mesh) {
68 FloatBuffer vertices = mesh.getFloatBuffer(Type.Position);
70 int components = mesh.getVertexCount() * 3;