Searched refs:uSteps (Results 1 – 2 of 2) sorted by relevance
384 final int uSteps = 20; in generateWeightedGrid() local389 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()
165 …private Grid generateTorusGrid(GL gl, int uSteps, int vSteps, float majorRadius, float minorRadius… in generateTorusGrid() argument166 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()