Lines Matching refs:Matrix
22 Matrix Matrix::diag(float m11, float m22, float m33, float m44) in diag()
24 return Matrix(m11, 0, 0, 0, in diag()
30 Matrix::operator float*() in operator float*()
35 Matrix Matrix::operator+() const in operator +()
40 Matrix Matrix::operator-() const in operator -()
42 const Matrix &M = *this; in operator -()
44 return Matrix(-M(1, 1), -M(1, 2), -M(1, 3), -M(1, 4), in operator -()
50 Matrix Matrix::operator!() const in operator !()
52 const Matrix &M = *this; in operator !()
53 Matrix I; in operator !()
104 Matrix Matrix::operator~() const in operator ~()
106 const Matrix &M = *this; in operator ~()
108 return Matrix(M(1, 1), M(2, 1), M(3, 1), M(4, 1), in operator ~()
114 Matrix &Matrix::operator+=(const Matrix &N) in operator +=()
116 Matrix &M = *this; in operator +=()
126 Matrix &Matrix::operator-=(const Matrix &N) in operator -=()
128 Matrix &M = *this; in operator -=()
138 Matrix &Matrix::operator*=(float s) in operator *=()
140 Matrix &M = *this; in operator *=()
150 Matrix &Matrix::operator*=(const Matrix &M) in operator *=()
155 Matrix &Matrix::operator/=(float s) in operator /=()
162 bool operator==(const Matrix &M, const Matrix &N) in operator ==()
173 bool operator!=(const Matrix &M, const Matrix &N) in operator !=()
184 Matrix operator+(const Matrix &M, const Matrix &N) in operator +()
186 return Matrix(M(1, 1) + N(1, 1), M(1, 2) + N(1, 2), M(1, 3) + N(1, 3), M(1, 4) + N(1, 4), in operator +()
192 Matrix operator-(const Matrix &M, const Matrix &N) in operator -()
194 return Matrix(M(1, 1) - N(1, 1), M(1, 2) - N(1, 2), M(1, 3) - N(1, 3), M(1, 4) - N(1, 4), in operator -()
200 Matrix operator*(float s, const Matrix &M) in operator *()
202 return Matrix(s * M(1, 1), s * M(1, 2), s * M(1, 3), s * M(1, 4), in operator *()
208 Matrix operator*(const Matrix &M, float s) in operator *()
210 return Matrix(M(1, 1) * s, M(1, 2) * s, M(1, 3) * s, M(1, 4) * s, in operator *()
216 Matrix operator*(const Matrix &M, const Matrix &N) in operator *()
218 …return Matrix(M(1, 1) * N(1, 1) + M(1, 2) * N(2, 1) + M(1, 3) * N(3, 1) + M(1, 4) * N(4, 1), M(1, … in operator *()
224 Matrix operator/(const Matrix &M, float s) in operator /()
231 float4 Matrix::operator*(const float4 &v) const in operator *()
233 const Matrix &M = *this; in operator *()
242 float Matrix::det(const Matrix &M) in det()
257 float Matrix::det(float m11) in det()
262 float Matrix::det(float m11, float m12, in det()
268 float Matrix::det(float m11, float m12, float m13, in det()
277 float Matrix::det(float m11, float m12, float m13, float m14, in det()
295 float Matrix::det(const Vector &v1, const Vector &v2, const Vector &v3) in det()
300 float Matrix::det3(const Matrix &M) in det3()
307 float Matrix::tr(const Matrix &M) in tr()
312 Matrix &Matrix::orthogonalise() in orthogonalise()
316 Matrix &M = *this; in orthogonalise()
337 Matrix Matrix::eulerRotate(const Vector &v) in eulerRotate()
349 return Matrix(cy * cz - sxsy * sz, -cy * sz - sxsy * cz, -sy * cx, in eulerRotate()
354 Matrix Matrix::eulerRotate(float x, float y, float z) in eulerRotate()
359 Matrix Matrix::translate(const Vector &v) in translate()
361 return Matrix(1, 0, 0, v.x, in translate()
367 Matrix Matrix::translate(float x, float y, float z) in translate()
372 Matrix Matrix::scale(const Vector &v) in scale()
374 return Matrix(v.x, 0, 0, in scale()
379 Matrix Matrix::scale(float x, float y, float z) in scale()
384 Matrix Matrix::lookAt(const Vector &v) in lookAt()
395 return ~Matrix(x, y, z); in lookAt()
398 Matrix Matrix::lookAt(float x, float y, float z) in lookAt()