Home | History | Annotate | Download | only in graphics

Lines Matching refs:Matrix

17 class Matrix {
21 Matrix();
22 Matrix(const Matrix& src);
24 bool equals(const Matrix& src);
25 // Loads this matrix with the identity matrix.
27 // Loads this matrix with the data from src.
28 void loadWith(const Matrix& src);
29 // Translates this matrix by the given amounts.
31 // Scales this matrix by the given amounts.
33 // Rotates this matrix the given angle.
35 // Sets this matrix to be the result of multiplying the given matrices.
36 void multiply(const Matrix& l, const Matrix& r);
40 // Returns a new matrix representing the camera.
41 static Matrix* newLookAt(float eyeX, float eyeY, float eyeZ, float centerX,
43 // Returns a new matrix representing the perspective matrix.
44 static Matrix* newFrustum(float left, float right, float bottom, float top,
46 // Returns a new matrix representing the translation.
47 static Matrix* newTranslate(float x, float y, float z);
48 // Returns a new matrix representing the scaling.
49 static Matrix* newScale(float x, float y, float z);
50 // Returns a new matrix representing the rotation.
51 static Matrix* newRotate(float radians, float x, float y, float z);
53 // Sets the given matrix to be the result of multiplying the given matrix by the given vector.
54 static void multiplyVector(float* result, const Matrix& lhs,