Home
last modified time | relevance | path

Searched refs:vertexBase (Results 1 – 6 of 6) sorted by relevance

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DMeshCollisionShape.java54 protected ByteBuffer triangleIndexBase, vertexBase; field in MeshCollisionShape
76 this.vertexBase = bulletMesh.vertexBase; in createCollisionMesh()
96 capsule.write(vertexBase.array(), "vertexBase", new byte[0]); in write()
108 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])); in read()
119 bulletMesh.vertexBase = vertexBase; in createShape()
121 …Array(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride); in createShape()
DGImpactCollisionShape.java55 protected ByteBuffer triangleIndexBase, vertexBase; field in GImpactCollisionShape
78 this.vertexBase = bulletMesh.vertexBase; in createCollisionMesh()
99 capsule.write(vertexBase.array(), "vertexBase", new byte[0]); in write()
112 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])); in read()
123 bulletMesh.vertexBase = vertexBase; in createShape()
125 …Array(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride); in createShape()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DGImpactCollisionShape.java57 protected ByteBuffer triangleIndexBase, vertexBase; field in GImpactCollisionShape
74 vertexBase = BufferUtils.createByteBuffer(mesh.getVertexCount() * 3 * 4); in createCollisionMesh()
89 vertexBase.putFloat(tempFloat); in createCollisionMesh()
118 capsule.write(vertexBase.array(), "vertexBase", new byte[0]); in write()
131 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])); in read()
150 …meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles… in createShape()
DMeshCollisionShape.java57 protected ByteBuffer triangleIndexBase, vertexBase; field in MeshCollisionShape
73 vertexBase = BufferUtils.createByteBuffer(mesh.getVertexCount() * 3 * 4); in createCollisionMesh()
86 vertexBase.putFloat(tempFloat); in createCollisionMesh()
114 capsule.write(vertexBase.array(), "vertexBase", new byte[0]); in write()
126vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])).order(ByteOrder.nat… in read()
143 …meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles… in createShape()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
DNativeMeshUtil.java49 ByteBuffer vertexBase = BufferUtils.createByteBuffer(mesh.getVertexCount() * 3 * 4); in getTriangleIndexVertexArray() local
62 vertexBase.putFloat(tempFloat); in getTriangleIndexVertexArray()
72 …return createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, ve… in getTriangleIndexVertexArray()
75 …reateTriangleIndexVertexArray(ByteBuffer triangleIndexBase, ByteBuffer vertexBase, int numTraingle… in createTriangleIndexVertexArray() argument
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DConverter.java229 jBulletIndexedMesh.vertexBase = ByteBuffer.allocate(mesh.getVertexCount() * 3 * 4); in convert()
241 jBulletIndexedMesh.vertexBase.putFloat(tempFloat); in convert()
270 vertices.put(i, mesh.vertexBase.getFloat(i * 4)); in convert()