Searched refs:vSteps (Results 1 – 2 of 2) sorted by relevance
385 final int vSteps = 20; in generateWeightedGrid() local389 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()
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()167 for (int j = 0; j <= vSteps; j++) { in generateTorusGrid()168 double angleV = Math.PI * 2 * j / vSteps; in generateTorusGrid()