Home
last modified time | relevance | path

Searched refs:vertex (Results 1 – 4 of 4) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLShape.java60 GLVertex vertex = iter.next(); in addVertex() local
61 if (vertex.x == x && vertex.y == y && vertex.z == z) { in addVertex()
62 return vertex; in addVertex()
67 GLVertex vertex = mWorld.addVertex(x, y, z); in addVertex() local
68 mVertexList.add(vertex); in addVertex()
69 return vertex; in addVertex()
80 GLVertex vertex = iter.next(); in animateTransform() local
81 mWorld.transformVertex(vertex, transform); in animateTransform()
DGLWorld.java50 GLVertex vertex = iter2.next(); in generate() local
51 vertex.put(mVertexBuffer, mColorBuffer); in generate()
62 GLVertex vertex = new GLVertex(x, y, z, mVertexList.size()); in addVertex() local
63 mVertexList.add(vertex); in addVertex()
64 return vertex; in addVertex()
67 public void transformVertex(GLVertex vertex, M4 transform) { in transformVertex() argument
68 vertex.update(mVertexBuffer, transform); in transformVertex()
DGLFace.java55 GLVertex vertex = mVertexList.get(last); in setColor() local
59 while (vertex.color != null) { in setColor()
60 mVertexList.add(0, vertex); in setColor()
62 vertex = mVertexList.get(last); in setColor()
66 vertex.color = c; in setColor()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DSpriteTextRenderer.java334 public float getX(int vertex) { in getX() argument
335 return sCoords[3*vertex]; in getX()
338 public float getY(int vertex) { in getY() argument
339 return sCoords[3*vertex+1]; in getY()