/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
D | MeshCollisionShape.java | 54 protected ByteBuffer triangleIndexBase, vertexBase; field in MeshCollisionShape 75 this.triangleIndexBase = bulletMesh.triangleIndexBase; in createCollisionMesh() 95 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]); in write() 107 … triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read() 118 bulletMesh.triangleIndexBase = triangleIndexBase; in createShape() 120 bulletMesh.triangleIndexBase = triangleIndexBase; in createShape() 121 …TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, trian… in createShape()
|
D | GImpactCollisionShape.java | 55 protected ByteBuffer triangleIndexBase, vertexBase; field in GImpactCollisionShape 77 this.triangleIndexBase = bulletMesh.triangleIndexBase; in createCollisionMesh() 98 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]); in write() 111 … triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read() 122 bulletMesh.triangleIndexBase = triangleIndexBase; in createShape() 124 bulletMesh.triangleIndexBase = triangleIndexBase; in createShape() 125 …TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, trian… in createShape()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
D | GImpactCollisionShape.java | 57 protected ByteBuffer triangleIndexBase, vertexBase; field in GImpactCollisionShape 73 triangleIndexBase = BufferUtils.createByteBuffer(mesh.getTriangleCount() * 3 * 4); in createCollisionMesh() 94 triangleIndexBase.putInt(indices.get(i)); in createCollisionMesh() 117 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]); in write() 130 … triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read() 150 …meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles… in createShape()
|
D | MeshCollisionShape.java | 57 protected ByteBuffer triangleIndexBase, vertexBase; field in MeshCollisionShape 72 triangleIndexBase = BufferUtils.createByteBuffer(mesh.getTriangleCount() * 3 * 4); in createCollisionMesh() 91 triangleIndexBase.putInt(indices.get(i)); in createCollisionMesh() 113 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]); in write() 125 … triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read() 143 …meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles… in createShape()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/ |
D | NativeMeshUtil.java | 48 … ByteBuffer triangleIndexBase = BufferUtils.createByteBuffer(mesh.getTriangleCount() * 3 * 4); in getTriangleIndexVertexArray() local 67 triangleIndexBase.putInt(indices.get(i)); in getTriangleIndexVertexArray() 72 …return createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, ve… in getTriangleIndexVertexArray() 75 …public static native long createTriangleIndexVertexArray(ByteBuffer triangleIndexBase, ByteBuffer … in createTriangleIndexVertexArray() argument
|
/external/jmonkeyengine/engine/src/bullet-native/ |
D | com_jme3_bullet_util_NativeMeshUtil.cpp | 49 …(JNIEnv * env, jclass cls, jobject triangleIndexBase, jobject vertexIndexBase, jint numTriangles, … in Java_com_jme3_bullet_util_NativeMeshUtil_createTriangleIndexVertexArray() argument 51 int* triangles = (int*) env->GetDirectBufferAddress(triangleIndexBase); in Java_com_jme3_bullet_util_NativeMeshUtil_createTriangleIndexVertexArray()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
D | Converter.java | 228 jBulletIndexedMesh.triangleIndexBase = ByteBuffer.allocate(mesh.getTriangleCount() * 3 * 4); in convert() 248 jBulletIndexedMesh.triangleIndexBase.putInt(indices.get(i)); in convert() 266 indicess.put(i, mesh.triangleIndexBase.getInt(i * 4)); in convert()
|