Home
last modified time | relevance | path

Searched refs:triangle (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd62 // initialize a triangle
190 // Enable a handle to the triangle vertices
193 // Prepare the triangle coordinate data
201 // Set color for drawing the triangle
204 // Draw the triangle
226 <img src="{@docRoot}images/opengl/ogl-triangle.png">
231 friends. Secondly, the triangle is a bit squashed and changes shape when you change the screen
237 <p>Lastly, the triangle is stationary, which is a bit boring. In the <a href="motion.html">Adding
Dmotion.jd59 // Create a rotation transformation for the triangle
69 // Draw triangle
74 <p>If your triangle does not rotate after making these changes, make sure you have commented out the
91 // To allow the triangle to rotate automatically, this line is commented out:
Dtouch.jd35 <p>Making objects move according to a preset program like the rotating triangle is useful for
144 // Create a rotation for the triangle
154 // Draw triangle
160 screen to rotate the triangle:</p>
162 <img src="{@docRoot}images/opengl/ogl-triangle-touch.png">
Dshapes.jd18 <li><a href="#triangle">Define a Triangle</a></li>
41 basics of defining a shape, shape faces, as well as defining a triangle and a square.</p>
44 <h2 id="triangle">Define a Triangle</h2>
47 before you can draw a triangle, you must define its coordinates. In OpenGL, the typical way to do
111 defining the two coordinates shared by each triangle twice, use a drawing list to tell the
Dprojection.jd165 // Draw the triangle
177 <img src="{@docRoot}images/opengl/ogl-triangle-projected.png">
/frameworks/native/opengl/libagl/
Dprimitives.cpp59 static void triangle(ogles_context_t* c,
594 triangle(c, v0, v1, v2); in primitive_clip_triangle()
614 void triangle(ogles_context_t* c, in triangle() function
1028 triangle(c, p0, p1, p2); in clip_triangle()
/frameworks/rs/scriptc/
Drs_graphics.rsh155 …ces will be rendered as a connected triangle strip defined by the first three vertices with each a…
/frameworks/base/docs/html/guide/topics/graphics/
Dopengl.jd448 <p>In this example, the points of the triangle are defined in an order such that they are drawn in a
451 front face. The triangle shown in Figure 1 is defined so that you are looking at the front face of
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_graphics.jd642 …ces will be rendered as a connected triangle strip defined by the first three vertices with each a…