Lines Matching refs:Matrix4
25 const Matrix4 Matrix4::Identity = { {
58 Matrix4 operator*(const Matrix4& left, const Matrix4& right) in operator *()
103 Matrix4& Matrix4::operator*=(const Matrix4& right) in operator *=()
109 void Matrix4::SwapRow(int row1, int row2) in SwapRow()
130 void Matrix4::Invert() in Invert()
133 Matrix4 tmp = Matrix4::Identity; in Invert()
171 Vector3 Matrix4::GetScale() const in GetScale()
180 Vector3 Matrix4::GetTranslation() const in GetTranslation()
217 Matrix4 CreateScale(float xScale, float yScale, float zScale) in CreateScale()
229 Matrix4 CreateRotationX(float theta) in CreateRotationX()
241 Matrix4 CreateRotationY(float theta) in CreateRotationY()
253 Matrix4 CreateRotationZ(float theta) in CreateRotationZ()
264 Matrix4 CreateTranslation(const Vector3& trans) in CreateTranslation()
274 Matrix4 CreateLookAt(const Vector3& eye, const Vector3& target, const Vector3& up) in CreateLookAt()
292 Matrix4 CreatePerspective(const Vector3& camera) in CreatePerspective()
312 Vector3 Transform(const Vector3& vec, const Matrix4& mat) in Transform()
325 Vector3 TransformWithPerspDiv(const Vector3& vec, const Matrix4& mat, float w) in TransformWithPerspDiv()
345 Vector2 GetOriginScreenPoint(const Vector2& p, const Matrix4& mat) in GetOriginScreenPoint()
347 Matrix4 invertMat = mat; in GetOriginScreenPoint()