Lines Matching refs:btTriangleIndexVertexArray
4 #include <BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h>
187 %rename(internalAddIndexedMesh) btTriangleIndexVertexArray::addIndexedMesh;
188 %javamethodmodifiers btTriangleIndexVertexArray::addIndexedMesh "private";
189 %ignore btTriangleIndexVertexArray::btTriangleIndexVertexArray(int numTriangles,int* triangleIndexBase,int triangleIndexStride,int numVertices,btScalar* vertexBase,int vertexStride);
190 %ignore btTriangleIndexVertexArray::getIndexedMeshArray();
192 %typemap(javaimports) btTriangleIndexVertexArray %{
207 %typemap(javacode) btTriangleIndexVertexArray %{
208 protected final static Array<btTriangleIndexVertexArray> instances = new Array<btTriangleIndexVertexArray>();
211 public static <T extends Object> boolean compare(final btTriangleIndexVertexArray array, final Array<T> tags) {
231 protected static <T extends Object> btTriangleIndexVertexArray getInstance(final Array<T> tags) {
232 for (final btTriangleIndexVertexArray instance : instances) {
239 /** Create or reuse a btTriangleIndexVertexArray instance based on the specified {@link MeshPart} array.
241 public static <T extends MeshPart> btTriangleIndexVertexArray obtain(final Array<T> meshParts) {
242 btTriangleIndexVertexArray result = getInstance(meshParts);
244 result = new btTriangleIndexVertexArray(meshParts);
253 public btTriangleIndexVertexArray(final MeshPart meshPart) {
258 public <T extends MeshPart> btTriangleIndexVertexArray(final Iterable<T> meshParts) {
273 /** Add a {@link MeshPart} instance to this btTriangleIndexVertexArray.
274 * The specified mesh must be indexed and triangulated and must outlive this btTriangleIndexVertexArray.
276 public btTriangleIndexVertexArray addMeshPart(final MeshPart meshPart) {
283 /** Add one or more {@link MeshPart} instances to this btTriangleIndexVertexArray.
284 * The specified meshes must be indexed and triangulated and must outlive this btTriangleIndexVertexArray.
286 public btTriangleIndexVertexArray addMeshParts(final MeshPart... meshParts) {
292 /** Add one or more {@link MeshPart} instances to this btTriangleIndexVertexArray.
293 * The specified meshes must be indexed and triangulated and must outlive this btTriangleIndexVertexArray.
295 public <T extends MeshPart> btTriangleIndexVertexArray addMeshParts(final Iterable<T> meshParts) {
301 /** Add one or more {@link NodePart} instances to this btTriangleIndexVertexArray.
302 * The specified meshes must be indexed and triangulated and must outlive this btTriangleIndexVertexArray.
304 public <T extends NodePart> btTriangleIndexVertexArray addNodeParts(final Iterable<T> nodeParts) {
311 public btTriangleIndexVertexArray addIndexedMesh(final btIndexedMesh mesh, int indexType) {
319 public btTriangleIndexVertexArray addIndexedMesh(final btIndexedMesh mesh) {
332 %include "BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h"