Home | History | Annotate | Download | only in graphics

Lines Matching defs:Matrix

15 #include "Matrix.h"
23 Matrix::Matrix() {
27 Matrix::Matrix(const Matrix& src) {
31 void Matrix::print(const char* label) {
39 bool Matrix::equals(const Matrix& src) {
50 void Matrix::loadWith(const Matrix& src) {
54 void Matrix::identity() {
76 void Matrix::translate(float x, float y, float z) {
77 Matrix* m = newTranslate(x, y, z);
78 Matrix* temp = new Matrix(*this);
86 void Matrix::scale(float x, float y, float z) {
87 Matrix* m = newScale(x, y, z);
88 Matrix* temp = new Matrix(*this);
96 void Matrix::rotate(float radians, float x, float y, float z) {
97 Matrix* m = newRotate(radians, x, y, z);
98 Matrix* temp = new Matrix(*this);
106 void Matrix::multiply(const Matrix& l, const Matrix& r) {
132 Matrix* Matrix::newLookAt(float eyeX, float eyeY, float eyeZ, float centerX,
134 Matrix* m = new Matrix();
191 Matrix* Matrix::newFrustum(float left, float right, float bottom, float top,
202 Matrix* m = new Matrix();
225 Matrix* Matrix::newTranslate(float x, float y, float z) {
226 Matrix* m = new Matrix();
235 Matrix* Matrix::newScale(float x, float y, float z) {
236 Matrix* m = new Matrix();
245 Matrix* Matrix::newRotate(float radians, float x, float y, float z) {
246 Matrix* m = new Matrix();
317 void Matrix::multiplyVector(float* result, const Matrix& lhs,