public void getVertices( java.nio.FloatBuffer vertices, int vertexSize, int posOffset, int normalOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset) { assert vertices.isDirect() : "Buffer must be allocated direct."; assert indices.isDirect() : "Buffer must be allocated direct."; assert indexMap.isDirect() : "Buffer must be allocated direct."; { SoftbodyJNI.btSoftBody_getVertices__SWIG_2( swigCPtr, this, vertices, vertexSize, posOffset, normalOffset, indices, indexOffset, numVertices, indexMap, indexMapOffset); } }
private static long SwigConstructbtSoftBody( btSoftBodyWorldInfo worldInfo, java.nio.FloatBuffer vertices, int vertexSize, int posOffset, int normalOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset) { assert vertices.isDirect() : "Buffer must be allocated direct."; assert indices.isDirect() : "Buffer must be allocated direct."; assert indexMap.isDirect() : "Buffer must be allocated direct."; return SoftbodyJNI.new_btSoftBody__SWIG_2( btSoftBodyWorldInfo.getCPtr(worldInfo), worldInfo, vertices, vertexSize, posOffset, normalOffset, indices, indexOffset, numVertices, indexMap, indexMapOffset); }
public void getVertices( java.nio.FloatBuffer buffer, int vertexCount, int vertexSize, int posOffset) { assert buffer.isDirect() : "Buffer must be allocated direct."; { SoftbodyJNI.btSoftBody_getVertices__SWIG_0( swigCPtr, this, buffer, vertexCount, vertexSize, posOffset); } }
public btMultiSphereShape createMultiSphereShape( btVector3 positions, java.nio.FloatBuffer radi, int numSpheres) { assert radi.isDirect() : "Buffer must be allocated direct."; { long cPtr = ExtrasJNI.btWorldImporter_createMultiSphereShape( swigCPtr, this, btVector3.getCPtr(positions), positions, radi, numSpheres); return (cPtr == 0) ? null : new btMultiSphereShape(cPtr, false); } }
private static long SwigConstructbtSoftBody( btSoftBodyWorldInfo worldInfo, int node_count, btVector3 x, java.nio.FloatBuffer m) { assert m.isDirect() : "Buffer must be allocated direct."; return SoftbodyJNI.new_btSoftBody__SWIG_0( btSoftBodyWorldInfo.getCPtr(worldInfo), worldInfo, node_count, btVector3.getCPtr(x), x, m); }