Home
last modified time | relevance | path

Searched refs:nz (Results 1 – 3 of 3) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCubeMapActivity.java182 float nz = sinU; in generateTorusGrid() local
184 float length = (float) Math.sqrt(nx*nx + ny*ny + nz*nz); in generateTorusGrid()
187 nz /= length; in generateTorusGrid()
189 grid.set(i, j, x, y, z, nx, ny, nz); in generateTorusGrid()
317 public void set(int i, int j, float x, float y, float z, float nx, float ny, float nz) { in set() argument
333 mVertexBuffer.put(nz); in set()
DTouchPaint.java520 float nz = (float) Math.cos(tilt); in drawSplat() local
521 if (nz < 0.05) { in drawSplat()
524 float cd = z / nz; in drawSplat()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java478 public void glNormal3f(float nx, float ny, float nz) { in glNormal3f() argument
479 mgl.glNormal3f(nx, ny, nz); in glNormal3f()
482 public void glNormal3x(int nx, int ny, int nz) { in glNormal3x() argument
483 mgl.glNormal3x(nx, ny, nz); in glNormal3x()