Home
last modified time | relevance | path

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

/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java202 void drawLine(Canvas c, int x1, int y1, int z1, int x2, int y2, int z2) { in drawLine() argument
212 float newy2 = (float)(Math.sin(xrot) * z2 + Math.cos(xrot) * y2); in drawLine()
214 float newz2 = (float)(Math.cos(xrot) * z2 - Math.sin(xrot) * y2); in drawLine()
/development/ndk/sources/android/ndk_helper/
Dvecmath.h1047 float z2 = z_ * z_ * 2.0f; in ToMatrix() local
1055 mat.f_[0] = 1.0f - y2 - z2; in ToMatrix()
1059 mat.f_[5] = 1.0f - z2 - x2; in ToMatrix()
1073 float z2 = z_ * z_ * 2.0f; in ToMatrixPreserveTranslate() local
1081 mat.f_[0] = 1.0f - y2 - z2; in ToMatrixPreserveTranslate()
1085 mat.f_[5] = 1.0f - z2 - x2; in ToMatrixPreserveTranslate()