Searched refs:triangle (Results 1 – 25 of 30) sorted by relevance
12
16 <li><a href="#define-triangle">Define a Triangle</a></li>17 <li><a href="#draw-triangle">Draw the Triangle</a></li>222 draw something with it. This section shows you how to define and draw a triangle.</p>224 <h3 id="define-triangle">Define a Triangle</h3>227 can draw a triangle, you must define its coordinates. In OpenGL, the typical way to do this is to234 <p>To define a vertex array for a triangle:</p>238 vertices of a triangle shape:255 // initialize vertex Buffer for triangle 266 <p>This method defines a two-dimensional triangle with three equal sides.</p>268 <li>Modify your {@code onSurfaceCreated()} method to initialize your triangle: [all …]
16 <li><a href="#define-triangle">Define a Triangle</a></li>17 <li><a href="#draw-triangle">Draw the Triangle</a></li>241 draw something with it. This section shows you how to define and draw a triangle.</p>243 <h3 id="define-triangle">Define a Triangle</h3>246 can draw a triangle, you must define its coordinates. In OpenGL, the typical way to do this is to253 <p>To define a vertex array for a triangle:</p>257 vertices of a triangle shape:274 // initialize vertex Buffer for triangle 285 <p>This method defines a two-dimensional triangle shape with three equal sides.</p>287 <li>Modify your {@code onSurfaceCreated()} method to initialize your triangle:[all …]
36 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));41 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));71 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"118 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"171 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"201 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…227 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…253 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"283 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…340 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…[all …]
82 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));87 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));117 …<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"…140 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…154 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…163 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
78 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));83 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));112 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"125 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"138 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…151 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
79 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));84 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));114 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"145 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"263 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"315 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"451 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"481 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"531 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"640 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"[all …]
84 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));89 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));119 …<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"…139 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…182 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
53 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img" />141 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" />195 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" />217 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" />
80 <img src="{@docRoot}assets/images/triangle-opened.png"108 <img src="{@docRoot}assets/images/triangle-closed.png"135 <img src="{@docRoot}assets/images/triangle-closed.png"
84 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));89 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));115 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
75 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));80 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));110 …<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"…
77 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));82 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));108 …<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"…
81 <img src="{@docRoot}assets/images/triangle-opened.png"109 <img src="{@docRoot}assets/images/triangle-closed.png"136 <img src="{@docRoot}assets/images/triangle-closed.png"
72 <img src="{@docRoot}assets/images/triangle-opened.png"100 <img src="{@docRoot}assets/images/triangle-closed.png"
14 "assets/images/triangle-opened.png"));20 "assets/images/triangle-closed.png"));439 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
72 …mg", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));77 …mg", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));107 …<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"…
72 <img src="{@docRoot}assets/images/triangle-opened.png"101 <img src="{@docRoot}assets/images/triangle-closed.png"128 <img src="{@docRoot}assets/images/triangle-closed.png"
30 …img", toggleable).attr("title", "hide").attr("src", "{@docRoot}assets/images/triangle-opened.png");35 …$(".toggle-img", toggleable).attr("title", "show").attr("src", "/assets/images/triangle-closed.png…63 "{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px">96 "{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px">148 "{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px">231 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"283 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"362 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"436 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"464 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"[all …]
58 green triangle to its right in the Eclipse toolbars near the top).</p>
377 allows you to specify a set of vertices and indices for each triangle that you want to draw.394 supply it with a set of vertices and the indices for the vertices that comprise the triangle. For397 android.renderscript.Mesh.TriangleMeshBuilder#addTriangle addTriangle()} draws the triangle with401 Mesh.TriangleMeshBuilder triangle = new Mesh.TriangleMeshBuilder(renderscriptGL,407 Mesh smP = triangle.create(true);417 Mesh.AllocationBuilder triangle = new Mesh.AllocationBuilder(mRS);
59 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() function1028 triangle(c, p0, p1, p2); in clip_triangle()
208 <li>GLSurfaceView - a spinning triangle</li>211 <li>Textured Triangle - shows how to draw a textured 3D triangle</li>
414 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", "/assets/images/triangle-opened.png…419 …$(".toggle-img", toggleable).attr("title", "show").attr("src", "/assets/images/triangle-closed.png…441 <img src="/assets/images/triangle-closed.png" class="toggle-img" />
143 <li>In the Devices panel (top right panel by default), click on the down triangle