/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
VirtualIndexBuffer.java | 25 protected int numIndices = 0; 33 numIndices = numVerts; 36 numIndices = (numVerts - 1) * 2 + 1; 39 numIndices = (numVerts - 1) * 2; 42 numIndices = numVerts; 45 numIndices = (numVerts - 2) * 3; 48 numIndices = (numVerts - 2) * 3; 51 numIndices = numVerts; 98 return numIndices;
|
WrappedIndexBuffer.java | 29 numIndices = mesh.getTriangleCount(); 34 numIndices = mesh.getTriangleCount() * 2; 39 numIndices = mesh.getTriangleCount() * 3;
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/ |
PrimitiveGroup.java | 46 public int numIndices;
62 return getTypeString() + " : " + numIndices;
69 int[] stripLengths = new int[numIndices];
73 for ( int i =0; i < numIndices; i++) {
86 sb.append("Strip:").append(numIndices).append("\n");
99 if ( indices.length == numIndices )
101 int[] nind = new int[numIndices];
102 System.arraycopy(indices,0,nind,0,numIndices);
|
TriStrip.java | 156 int numIndices = 0;
158 numIndices += tempStrips.at(i).m_faces.size() * 3;
162 numIndices += tempFaces.size() * 3;
165 primGroupArray[0].indices = new int[numIndices];
166 primGroupArray[0].numIndices = numIndices;
179 primGroupArray[0].numIndices -= 3;
227 primGroupArray[stripCtr].numIndices = stripLength;
245 primGroupArray[faceGroupLoc].numIndices = tempFaces.size() * 3;
276 int numIndices = indices.length; [all...] |
Stripifier.java | 126 int numIndices = indices.size();
127 faceInfos.reserve(numIndices / 3);
134 int numTriangles = numIndices / 3;
293 int numIndices = indices.size();
295 int v0 = indices.get(numIndices - 2);
296 int v1 = indices.get(numIndices - 1);
532 static boolean nextIsCW(int numIndices) {
533 return ((numIndices % 2) == 0);
[all...] |
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_VertexShader/ |
Simple_VertexShader.c | 33 int numIndices; 73 userData->numIndices = esGenCube( 1.0, &userData->vertices, 148 glDrawElements ( GL_TRIANGLES, userData->numIndices, GL_UNSIGNED_SHORT, userData->indices );
|
/external/chromium_org/third_party/angle/samples/gles2_book/Common/ |
esShapes.c | 60 int numIndices = numParallels * numSlices * 6; 74 *indices = malloc ( sizeof(GLushort) * numIndices ); 126 return numIndices; 145 int numIndices = 36; 274 *indices = malloc ( sizeof(GLushort) * numIndices ); 278 return numIndices;
|
/external/chromium_org/third_party/angle/samples/gles2_book/PostSubBuffer/ |
PostSubBuffer.c | 38 int numIndices; 78 userData->numIndices = esGenCube( 1.0, &userData->vertices, 158 glDrawElements ( GL_TRIANGLES, userData->numIndices, GL_UNSIGNED_SHORT, userData->indices );
|
/external/chromium_org/third_party/angle/samples/gles2_book/Simple_TextureCubemap/ |
Simple_TextureCubemap.c | 34 int numIndices; 142 userData->numIndices = esGenSphere ( 20, 0.75f, &userData->vertices, &userData->normals, 187 glDrawElements ( GL_TRIANGLES, userData->numIndices,
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.java | 204 int[] numIndices = mSpheres[i].getNumIndices(); 208 for (int j = 0; j < numIndices.length; j++) { 212 numIndices[j], GLES20.GL_UNSIGNED_SHORT, 216 for (int j = 0; j < numIndices.length; j++) { 218 numIndices[j], GLES20.GL_UNSIGNED_SHORT, 408 int[] numIndices = mSpheres[i].getNumIndices(); 411 for (int j = 0; j < numIndices.length; j++) {
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
ModelConverter.java | 82 numElements += group.numIndices; 96 elementLengths[i] = group.numIndices; 107 curIndex += group.numIndices;
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
Mesh.java | [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
MeshLoader.java | 198 int numIndices = indicesPerFace * numFaces; 202 sb = BufferUtils.createShortBuffer(numIndices); 206 ib = BufferUtils.createIntBuffer(numIndices);
|
/frameworks/base/graphics/jni/ |
android_renderscript_RenderScript.cpp | [all...] |