Home
last modified time | relevance | path

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

/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java262 float newz = (float)(Math.cos(xrot) * z - Math.sin(xrot) * y); in rotateAndProjectPoints() local
265 float newx = (float)(Math.sin(yrot) * newz + Math.cos(yrot) * x); in rotateAndProjectPoints()
266 newz = (float)(Math.cos(yrot) * newz - Math.sin(yrot) * x); in rotateAndProjectPoints()
269 float screenX = newx / (4 - newz / 400); in rotateAndProjectPoints()
270 float screenY = newy / (4 - newz / 400); in rotateAndProjectPoints()