HomeSort by relevance Sort by last modified time
    Searched refs:uSteps (Results 1 - 2 of 2) sorted by null

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

Completed in 81 milliseconds