HomeSort by relevance Sort by last modified time
    Searched full:vertices (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /development/samples/GlobalTime/src/com/android/globaltime/
PointCloud.java 30 * @param vertices an array of (x, y, z) positions given in fixed-point.
32 public PointCloud(int[] vertices) {
33 this(vertices, 0, vertices.length);
39 * @param vertices an array of (x, y, z) positions given in fixed-point.
40 * @param off the starting offset of the vertices array
41 * @param len the number of elements of the vertices array to use
43 public PointCloud(int[] vertices, int off, int len) {
53 allocateBuffers(vertices, null, null, null, indices);
LatLongSphere.java 31 int[] vertices = new int[3 * lats * longs]; local
65 // Place vertices onto a flat projection
66 vertices[vidx++] = toFixed(2.0f * fi - 1.0f);
67 vertices[vidx++] = toFixed(0.5f - fj);
68 vertices[vidx++] = toFixed(0.0f);
70 // Place vertices onto the surface of a sphere
72 vertices[vidx++] = toFixed(x * radius + centerX);
73 vertices[vidx++] = toFixed(y * radius + centerY);
74 vertices[vidx++] = toFixed(z * radius + centerZ);
116 allocateBuffers(vertices, texcoords, normals, colors, indices)
    [all...]
Annulus.java 57 int[] vertices = new int[2 * 3 * radii]; local
70 vertices[vidx++] = toFixed(centerX + innerRadius * cosTheta);
71 vertices[vidx++] = toFixed(centerY + innerRadius * sinTheta);
72 vertices[vidx++] = toFixed(Z);
74 vertices[vidx++] = toFixed(centerX + outerRadius * cosTheta);
75 vertices[vidx++] = toFixed(centerY + outerRadius * sinTheta);
76 vertices[vidx++] = toFixed(Z);
99 allocateBuffers(vertices, null, null, colors, indices);
Shape.java 30 * containing vertices, texture coordinates, colors, normals, and indices.
150 * @param vertices an array of fixed-point vertex coordinates
156 public void allocateBuffers(int[] vertices, int[] texcoords, int[] normals,
158 allocate(vertices, texcoords, normals, colors);
174 * @param vertices an array of fixed-point vertex coordinates
180 public void allocateBuffers(int[] vertices, int[] texcoords, int[] normals,
182 allocate(vertices, texcoords, normals, colors);
196 private void allocate(int[] vertices, int[] texcoords, int[] normals,
199 ByteBuffer.allocateDirect(vertices.length * INT_BYTES);
202 mVertexBuffer.put(vertices);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Cube.java 33 int vertices[] = { local
72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4);
75 mVertexBuffer.put(vertices);
  /development/samples/BrowserPlugin/src/com/android/sampleplugin/graphics/
Cube.java 33 int vertices[] = { local
72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4);
75 mVertexBuffer.put(vertices);
  /external/bison/src/
relation.h 37 /* Report a relation R that has SIZE vertices. */
41 with SIZE vertices.
relation.c 56 static relation_nodes VERTICES;
67 VERTICES[++top] = i;
85 j = VERTICES[top--];
103 VERTICES = xnmalloc (size + 1, sizeof *VERTICES);
114 free (VERTICES);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLFace.java 48 // must be called after all vertices are added
53 Log.e("GLFace", "not enough vertices in setColor()");
Cube.java 33 // vertices are added in a clockwise orientation (when viewed from the outside)
  /frameworks/base/opengl/tests/linetex/
linetex.cpp 84 const GLfloat vertices[4][2] = { local
103 glVertexPointer(2, GL_FLOAT, 0, vertices);
  /frameworks/base/core/jni/android/opengl/
poly.h 40 Poly_vert vert[POLY_NMAX]; /* vertices */
poly_clip.cpp 114 /* count vertices "outside" with respect to each of the six planes */
125 /* check if all vertices inside */
129 /* check if all vertices are "outside" any of the six planes */
  /packages/wallpapers/Basic/res/raw/
distort.rs 189 float *vertices = loadSimpleMeshVerticesF(NAMED_WaterMesh, 0);
190 struct vert_s *vert = (struct vert_s *)vertices;
288 //vertices[(yOffset + x) << 3 + 7] = 0.0f;
484 float *vertices = loadSimpleMeshVerticesF(NAMED_WaterMesh, 0);
498 float vx = vertices[offset + 5];
499 float vy = vertices[offset + 6];
500 float vz = vertices[offset + 7];
501 float nx = vertices[offset + 0];
502 float ny = vertices[offset + 1];
503 float nz = vertices[offset + 2]
    [all...]
  /external/quake/quake/src/QW/dxsdk/sdk/inc/
d3dtypes.h 172 * Homogeneous vertices
192 * Transformed/lit vertices
230 * Untransformed/lit vertices
265 * Untransformed/unlit vertices
417 LPVOID lpIn; /* Input vertices */
418 DWORD dwInSize; /* Stride of input vertices */
419 LPVOID lpOut; /* Output vertices */
420 DWORD dwOutSize; /* Stride of output vertices */
421 LPD3DHVERTEX lpHOut; /* Output homogeneous vertices */
425 D3DRECT drExtent; /* Extent of transformed vertices */
    [all...]
  /external/quake/quake/src/WinQuake/dxsdk/SDK/INC/
D3DTYPES.H 172 * Homogeneous vertices
192 * Transformed/lit vertices
230 * Untransformed/lit vertices
265 * Untransformed/unlit vertices
417 LPVOID lpIn; /* Input vertices */
418 DWORD dwInSize; /* Stride of input vertices */
419 LPVOID lpOut; /* Output vertices */
420 DWORD dwOutSize; /* Stride of output vertices */
421 LPD3DHVERTEX lpHOut; /* Output homogeneous vertices */
425 D3DRECT drExtent; /* Extent of transformed vertices */
    [all...]
  /frameworks/base/opengl/tests/fillrate/
fillrate.cpp 93 const GLfloat vertices[4][2] = { local
116 glVertexPointer(2, GL_FLOAT, 0, vertices);
  /frameworks/base/opengl/tests/filter/
filter.cpp 141 const GLfloat vertices[4][2] = {
176 glVertexPointer(2, GL_FLOAT, 0, vertices);
  /frameworks/base/services/surfaceflinger/
LayerDim.cpp 83 const GLshort vertices[4][2] = { local
89 glVertexPointer(2, GL_SHORT, 0, vertices);
  /development/samples/ApiDemos/src/com/example/android/apis/os/
RotationVectorDemo.java 163 final float vertices[] = { local
186 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4);
189 mVertexBuffer.put(vertices);
  /packages/apps/Gallery3D/src/com/cooliris/media/
LoadingLayer.java 152 int[] vertices = { -dimension, -dimension, 0, dimension, -dimension, 0, -dimension, dimension, 0, dimension, dimension, 0 }; local
153 ByteBuffer vertexByteBuffer = ByteBuffer.allocateDirect(vertices.length * 4);
156 mVertexBuffer.put(vertices);
  /development/ndk/platforms/android-4/samples/san-angeles/jni/
demo.c 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents,
123 result->count = vertices;
125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents *
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte));
130 result->normalArray = (GLfixed *)malloc(vertices * 3 *
207 const long vertices = triangleCount * 3; local
213 result = newGLObject(vertices, 3, 1);
338 // Set number of vertices in object to the actual amount created.
351 const long vertices = triangleCount * 3; local
356 result = newGLObject(vertices, 2, 0)
    [all...]
  /frameworks/base/opengl/tests/angeles/
demo.c 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents,
123 result->count = vertices;
125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents *
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte));
130 result->normalArray = (GLfixed *)malloc(vertices * 3 *
207 const long vertices = triangleCount * 3; local
213 result = newGLObject(vertices, 3, 1);
338 // Set number of vertices in object to the actual amount created.
351 const long vertices = triangleCount * 3; local
356 result = newGLObject(vertices, 2, 0)
    [all...]
  /development/samples/Compass/src/com/example/android/compass/
CompassActivity.java 165 float vertices[] = { local
188 vbb = ByteBuffer.allocateDirect(vertices.length*4);
191 mVertexBuffer.put(vertices);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestRenderer.java 51 * Storage for the vertices.
56 * Storage for the drawing sequence of the vertices. This contains
83 * Coordinates of the vertices making up a simple wedge. Six total
84 * vertices, representing two isosceles triangles, side by side,

Completed in 4411 milliseconds

1 2 3 4