OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:newz
(Results
1 - 1
of
1
) sorted by null
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
CubeWallpaper2.java
262
float
newz
= (float)(Math.cos(xrot) * z - Math.sin(xrot) * y);
local
265
float newx = (float)(Math.sin(yrot) *
newz
+ Math.cos(yrot) * x);
266
newz
= (float)(Math.cos(yrot) *
newz
- Math.sin(yrot) * x);
269
float screenX = newx / (4 -
newz
/ 400);
270
float screenY = newy / (4 -
newz
/ 400);
Completed in 28 milliseconds