Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DMatrixPaletteRenderer.java385 final int vSteps = 20; in generateWeightedGrid() local
389 Grid grid = new Grid(uSteps + 1, vSteps + 1); in generateWeightedGrid()
391 for (int j = 0; j <= vSteps; j++) { in generateWeightedGrid()
395 float y = height * ((float) j / vSteps - 0.5f); in generateWeightedGrid()
398 float v = -4.0f * (float) j / vSteps; in generateWeightedGrid()
399 float w0 = (float) j / vSteps; 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()
167 for (int j = 0; j <= vSteps; j++) { in generateTorusGrid()
168 double angleV = Math.PI * 2 * j / vSteps; in generateTorusGrid()