Lines Matching refs:z
76 void Matrix::translate(float x, float y, float z) { in translate() argument
77 Matrix* m = newTranslate(x, y, z); in translate()
86 void Matrix::scale(float x, float y, float z) { in scale() argument
87 Matrix* m = newScale(x, y, z); in scale()
96 void Matrix::rotate(float radians, float x, float y, float z) { in rotate() argument
97 Matrix* m = newRotate(radians, x, y, z); in rotate()
113 float z = 0; in multiply() local
121 z += lhs[j4 + 2] * e; in multiply()
127 mData[i4 + 2] = z; in multiply()
225 Matrix* Matrix::newTranslate(float x, float y, float z) { in newTranslate() argument
231 d[14] = z; in newTranslate()
235 Matrix* Matrix::newScale(float x, float y, float z) { in newScale() argument
241 d[10] = z; in newScale()
245 Matrix* Matrix::newRotate(float radians, float x, float y, float z) { in newRotate() argument
258 if (1.0f == x && 0.0f == y && 0.0f == z) { in newRotate()
268 } else if (0.0f == x && 1.0f == y && 0.0f == z) { in newRotate()
278 } else if (0.0f == x && 0.0f == y && 1.0f == z) { in newRotate()
289 float len = sqrt((x * x) + (y * y) + (z * z)); in newRotate()
294 z *= recipLen; in newRotate()
298 float yz = y * z; in newRotate()
299 float zx = z * x; in newRotate()
302 float zs = z * s; in newRotate()
311 d[10] = z * z * nc + c; in newRotate()
322 const float z = rhs[2]; in multiplyVector() local
326 result[i] = d[j + 0] * x + d[j + 1] * y + d[j + 2] * z + d[j + 3] * w; in multiplyVector()