Home
last modified time | relevance | path

Searched refs:uSteps (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DMatrixPaletteRenderer.java384 final int uSteps = 20; in generateWeightedGrid() local
389 Grid grid = new Grid(uSteps + 1, vSteps + 1); in generateWeightedGrid()
392 for (int i = 0; i <= uSteps; i++) { in generateWeightedGrid()
393 double angle = Math.PI * 2 * i / uSteps; in generateWeightedGrid()
397 float u = -4.0f * (float) i / uSteps; in generateWeightedGrid()
DCubeMapActivity.java165 …private Grid generateTorusGrid(GL gl, int uSteps, int vSteps, float majorRadius, float minorRadius… in generateTorusGrid() argument
166 Grid grid = new Grid(uSteps + 1, vSteps + 1); in generateTorusGrid()
171 for (int i = 0; i <= uSteps; i++) { in generateTorusGrid()
172 double angleU = Math.PI * 2 * i / uSteps; in generateTorusGrid()