Searched refs:z2 (Results 1 – 2 of 2) sorted by relevance
202 void drawLine(Canvas c, int x1, int y1, int z1, int x2, int y2, int z2) { in drawLine() argument212 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()
1047 float z2 = z_ * z_ * 2.0f; in ToMatrix() local1055 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() local1081 mat.f_[0] = 1.0f - y2 - z2; in ToMatrixPreserveTranslate()1085 mat.f_[5] = 1.0f - z2 - x2; in ToMatrixPreserveTranslate()