/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
D | VirtualIndexBuffer.java | 25 protected int numIndices = 0; field in VirtualIndexBuffer 33 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()
|
D | WrappedIndexBuffer.java | 29 numIndices = mesh.getTriangleCount(); in WrappedIndexBuffer() 34 numIndices = mesh.getTriangleCount() * 2; in WrappedIndexBuffer() 39 numIndices = mesh.getTriangleCount() * 3; in WrappedIndexBuffer()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/ |
D | PrimitiveGroup.java | 46 public int numIndices; field in PrimitiveGroup 62 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()
|
D | TriStrip.java | 156 int numIndices = 0; in generateStrips() local 158 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() local 277 int[] remappedIndices = new int[numIndices]; in remapIndices() [all …]
|
D | Stripifier.java | 126 int numIndices = indices.size(); in buildStripifyInfo() local 127 faceInfos.reserve(numIndices / 3); in buildStripifyInfo() 134 int numTriangles = numIndices / 3; in buildStripifyInfo() 293 int numIndices = indices.size(); in getNextIndex() local 295 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() argument 533 return ((numIndices % 2) == 0); in nextIsCW()
|
/external/chromium_org/third_party/angle/samples/gles2_book/Common/ |
D | esShapes.c | 60 int numIndices = numParallels * numSlices * 6; in esGenSphere() local 74 *indices = malloc ( sizeof(GLushort) * numIndices ); in esGenSphere() 126 return numIndices; in esGenSphere() 145 int numIndices = 36; in esGenCube() local 274 *indices = malloc ( sizeof(GLushort) * numIndices ); in esGenCube() 278 return numIndices; in esGenCube()
|
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_VertexShader/ |
D | Simple_VertexShader.c | 33 int numIndices; member 73 userData->numIndices = esGenCube( 1.0, &userData->vertices, in Init() 148 glDrawElements ( GL_TRIANGLES, userData->numIndices, GL_UNSIGNED_SHORT, userData->indices ); in Draw()
|
/external/chromium_org/third_party/angle/samples/gles2_book/PostSubBuffer/ |
D | PostSubBuffer.c | 38 int numIndices; member 78 userData->numIndices = esGenCube( 1.0, &userData->vertices, in Init() 158 glDrawElements ( GL_TRIANGLES, userData->numIndices, GL_UNSIGNED_SHORT, userData->indices ); in Draw()
|
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_TextureCubemap/ |
D | Simple_TextureCubemap.c | 34 int numIndices; member 142 userData->numIndices = esGenSphere ( 20, 0.75f, &userData->vertices, &userData->normals, in Init() 187 glDrawElements ( GL_TRIANGLES, userData->numIndices, in Draw()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
D | ModelConverter.java | 82 numElements += group.numIndices; in generateStrips() 96 elementLengths[i] = group.numIndices; in generateStrips() 107 curIndex += group.numIndices; in generateStrips()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | Mesh.java | 1070 int numIndices = indexBuf.size(); in extractVertexData() local 1072 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()
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
D | MeshLoader.java | 198 int numIndices = indicesPerFace * numFaces; in startFaces() local 202 sb = BufferUtils.createShortBuffer(numIndices); in startFaces() 206 ib = BufferUtils.createIntBuffer(numIndices); in startFaces()
|