HomeSort by relevance Sort by last modified time
    Searched refs:numVertices (Results 1 - 12 of 12) sorted by null

  /cts/suite/pts/deviceTests/opengl/jni/graphics/
Mesh.cpp 17 const int numVertices)
21 mNumVertices(numVertices) {
Mesh.h 24 const int numVertices);
GLUtils.cpp 98 int numVertices = readInt(buffer + index);
100 float* vertices = new float[numVertices * 3];
101 float* normals = new float[numVertices * 3];
102 float* texCoords = new float[numVertices * 2];
103 for (int i = 0; i < numVertices; i++) {
126 return new Mesh(vertices, normals, texCoords, numVertices);
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_util_NativeMeshUtil.cpp 49 (JNIEnv * env, jclass cls, jobject triangleIndexBase, jobject vertexIndexBase, jint numTriangles, jint numVertices, jint vertexStride, jint triangleIndexStride) {
53 btTriangleIndexVertexArray* array = new btTriangleIndexVertexArray(numTriangles, triangles, triangleIndexStride, numVertices, vertices, vertexStride);
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
MeshCollisionShape.java 53 protected int numVertices, numTriangles, vertexStride, triangleIndexStride;
71 this.numVertices = bulletMesh.numVertices;
90 capsule.write(numVertices, "numVertices", 0);
102 numVertices = capsule.readInt("numVertices", 0);
114 bulletMesh.numVertices = numVertices;
121 TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride)
    [all...]
GImpactCollisionShape.java 54 protected int numVertices, numTriangles, vertexStride, triangleIndexStride;
73 this.numVertices = bulletMesh.numVertices;
93 capsule.write(numVertices, "numVertices", 0);
106 numVertices = capsule.readInt("numVertices", 0);
118 bulletMesh.numVertices = numVertices;
125 TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride)
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
NativeMeshUtil.java 50 int numVertices = mesh.getVertexCount();
72 return createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexStride);
75 public static native long createTriangleIndexVertexArray(ByteBuffer triangleIndexBase, ByteBuffer vertexBase, int numTraingles, int numVertices, int vertextStride, int triangleIndexStride);
  /external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/
esShapes.c 59 int numVertices = ( numParallels + 1 ) * ( numSlices + 1 );
65 *vertices = malloc ( sizeof(GLfloat) * 3 * numVertices );
68 *normals = malloc ( sizeof(GLfloat) * 3 * numVertices );
71 *texCoords = malloc ( sizeof(GLfloat) * 2 * numVertices );
144 int numVertices = 24;
234 *vertices = malloc ( sizeof(GLfloat) * 3 * numVertices );
236 for ( i = 0; i < numVertices; i++ )
244 *normals = malloc ( sizeof(GLfloat) * 3 * numVertices );
250 *texCoords = malloc ( sizeof(GLfloat) * 2 * numVertices );
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
Statistics.java 52 protected int numVertices;
102 data[0] = numVertices;
127 numVertices += mesh.getVertexCount();
197 numVertices = 0;
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
GImpactCollisionShape.java 56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride;
77 numVertices = mesh.getVertexCount();
112 capsule.write(numVertices, "numVertices", 0);
125 numVertices = capsule.readInt("numVertices", 0);
137 // bulletMesh.numVertices = numVertices;
144 // TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride);
150 meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexStride);
    [all...]
MeshCollisionShape.java 56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride;
74 numVertices = mesh.getVertexCount();
108 capsule.write(numVertices, "numVertices", 0);
120 numVertices = capsule.readInt("numVertices", 0);
132 // bulletMesh.numVertices = numVertices;
139 // TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, triangleIndexStride, numVertices, vertexBase, vertexStride);
143 meshId = NativeMeshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, vertexStride, triangleIndexStride);
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
Converter.java 237 jBulletIndexedMesh.numVertices = mesh.getVertexCount();
260 jmeMesh.setBuffer(Type.Position, 3, BufferUtils.createFloatBuffer(mesh.numVertices * 3));
269 for (int i = 0; i < mesh.numVertices * 3; i++) {

Completed in 1007 milliseconds