Home
last modified time | relevance | path

Searched refs:tmpIndices (Results 1 – 4 of 4) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/
DSphereShapeBuilder.java28 private final static ShortArray tmpIndices = new ShortArray(); field in SphereShapeBuilder
68 tmpIndices.clear(); in build()
69 tmpIndices.ensureCapacity(divisionsU * 2); in build()
70 tmpIndices.size = s; in build()
87 tmpIndices.set(tempOffset, builder.vertex(curr1)); in build()
90 …builder.rect(tmpIndices.get(tempOffset), tmpIndices.get((o - 1) % s), tmpIndices.get((o - (divisio… in build()
91 tmpIndices.get((o - (divisionsU + 1)) % s)); in build()
92 tempOffset = (tempOffset + 1) % tmpIndices.size; in build()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtStridingMeshInterface.cpp270 btIntIndexData* tmpIndices = (btIntIndexData*)chunk->m_oldPtr; in serialize() local
271 memPtr->m_indices32 = (btIntIndexData*)serializer->getUniquePointer(tmpIndices); in serialize()
275 tmpIndices[gfxindex*3].m_value = tri_indices[0]; in serialize()
276 tmpIndices[gfxindex*3+1].m_value = tri_indices[1]; in serialize()
277 tmpIndices[gfxindex*3+2].m_value = tri_indices[2]; in serialize()
288 btShortIntIndexTripletData* tmpIndices = (btShortIntIndexTripletData*)chunk->m_oldPtr; in serialize() local
289 memPtr->m_3indices16 = (btShortIntIndexTripletData*) serializer->getUniquePointer(tmpIndices); in serialize()
293 tmpIndices[gfxindex].m_values[0] = tri_indices[0]; in serialize()
294 tmpIndices[gfxindex].m_values[1] = tri_indices[1]; in serialize()
295 tmpIndices[gfxindex].m_values[2] = tri_indices[2]; in serialize()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
DMeshBuilder.java56 private final static ShortArray tmpIndices = new ShortArray(); field in MeshBuilder
749 tmpIndices.clear(); in addMesh()
750 tmpIndices.ensureCapacity(numIndices); in addMesh()
751 tmpIndices.size = numIndices; in addMesh()
752 mesh.getIndices(indexOffset, numIndices, tmpIndices.items, 0); in addMesh()
754 addMesh(tmpVertices.items, tmpIndices.items, 0, numIndices); in addMesh()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtConvexHull.cpp1116 btAlignedObjectArray<int>tmpIndices; in BringOutYourDead() local
1117 tmpIndices.resize(m_vertexIndexMapping.size()); in BringOutYourDead()
1122 tmpIndices[i] = m_vertexIndexMapping[i]; in BringOutYourDead()
1152 if (tmpIndices[k]==int(v)) in BringOutYourDead()