Searched refs:numIndices (Results 1 – 8 of 8) sorted by relevance
25 protected int numIndices = 0; field in VirtualIndexBuffer33 numIndices = numVerts; in VirtualIndexBuffer()36 numIndices = (numVerts - 1) * 2 + 1; in VirtualIndexBuffer()39 numIndices = (numVerts - 1) * 2; in VirtualIndexBuffer()42 numIndices = numVerts; in VirtualIndexBuffer()45 numIndices = (numVerts - 2) * 3; in VirtualIndexBuffer()48 numIndices = (numVerts - 2) * 3; in VirtualIndexBuffer()51 numIndices = numVerts; in VirtualIndexBuffer()98 return numIndices; in size()
29 numIndices = mesh.getTriangleCount(); in WrappedIndexBuffer()34 numIndices = mesh.getTriangleCount() * 2; in WrappedIndexBuffer()39 numIndices = mesh.getTriangleCount() * 3; in WrappedIndexBuffer()
46 public int numIndices; field in PrimitiveGroup62 return getTypeString() + " : " + numIndices; in toString()69 int[] stripLengths = new int[numIndices]; in getFullInfo()73 for ( int i =0; i < numIndices; i++) { in getFullInfo()86 sb.append("Strip:").append(numIndices).append("\n"); in getFullInfo()99 if ( indices.length == numIndices ) in getTrimmedIndices()101 int[] nind = new int[numIndices]; in getTrimmedIndices()102 System.arraycopy(indices,0,nind,0,numIndices); in getTrimmedIndices()
156 int numIndices = 0; in generateStrips() local158 numIndices += tempStrips.at(i).m_faces.size() * 3; in generateStrips()162 numIndices += tempFaces.size() * 3; in generateStrips()165 primGroupArray[0].indices = new int[numIndices]; in generateStrips()166 primGroupArray[0].numIndices = numIndices; in generateStrips()179 primGroupArray[0].numIndices -= 3; in generateStrips()227 primGroupArray[stripCtr].numIndices = stripLength; in generateStrips()245 primGroupArray[faceGroupLoc].numIndices = tempFaces.size() * 3; in generateStrips()276 int numIndices = indices.length; in remapIndices() local277 int[] remappedIndices = new int[numIndices]; in remapIndices()[all …]
126 int numIndices = indices.size(); in buildStripifyInfo() local127 faceInfos.reserve(numIndices / 3); in buildStripifyInfo()134 int numTriangles = numIndices / 3; in buildStripifyInfo()293 int numIndices = indices.size(); in getNextIndex() local295 int v0 = indices.get(numIndices - 2); in getNextIndex()296 int v1 = indices.get(numIndices - 1); in getNextIndex()532 static boolean nextIsCW(int numIndices) { in nextIsCW() argument533 return ((numIndices % 2) == 0); in nextIsCW()
82 numElements += group.numIndices; in generateStrips()96 elementLengths[i] = group.numIndices; in generateStrips()107 curIndex += group.numIndices; in generateStrips()
1070 int numIndices = indexBuf.size(); in extractVertexData() local1072 IntMap<Integer> oldIndicesToNewIndices = new IntMap<Integer>(numIndices); in extractVertexData()1076 for (int i = 0; i < numIndices; i++) { in extractVertexData()1102 newIndexBuf = new IndexIntBuffer(BufferUtils.createIntBuffer(numIndices)); in extractVertexData()1104 newIndexBuf = new IndexShortBuffer(BufferUtils.createShortBuffer(numIndices)); in extractVertexData()1107 for (int i = 0; i < numIndices; i++) { in extractVertexData()
198 int numIndices = indicesPerFace * numFaces; in startFaces() local202 sb = BufferUtils.createShortBuffer(numIndices); in startFaces()206 ib = BufferUtils.createIntBuffer(numIndices); in startFaces()