Home
last modified time | relevance | path

Searched refs:triangleIndexBase (Results 1 – 7 of 7) sorted by relevance

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DMeshCollisionShape.java54 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()
107triangleIndexBase = 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()
DGImpactCollisionShape.java55 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()
111triangleIndexBase = 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/
DGImpactCollisionShape.java57 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()
130triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); in read()
150 …meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles… in createShape()
DMeshCollisionShape.java57 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()
125triangleIndexBase = 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/
DNativeMeshUtil.java48 … 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/
Dcom_jme3_bullet_util_NativeMeshUtil.cpp49 …(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/
DConverter.java228 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()