id: smat2f title: SMat2F
A Float backed 2x2 Matrix.
Method New(a:Float, b:Float, c:Float, d:Float)Creates a new SMat2F from the supplied arguments.
Method Operator+:SMat2F(z:SMat2F)Adds z to the matrix, returning a new matrix.
Method Operator-:SMat2F(z:SMat2F)Subtracts z from the matrix, returning a new matrix.
Method Operator*:SMat2F(z:SMat2F)Multiplies the matrix by z, the dot product, returning a new matrix.
Method Apply:SVec2F(v:SVec2F)Applies the matrix to the vector v, returning a new vector.
Method Adjoint:SMat2F()Returns the transposition of the cofactor matrix.
Method CompMul:SMat2F(z:SMat2F)Multiplies the matrix by z by its components, return a new matrix.
Method Determinant:Float()Returns the determinant of the matrix.
Method Invert:SMat2F()Returns the inverse of the matrix.
Method Rotate:SMat2F(angle:Double)Rotates the matrix by angle degrees, returning the rotated matrix.
Method Scale:SMat2F(s:SVec2F)Returns the scale of this matrix.
Method Scale:SMat2F(s:SVec2D)Returns the scale of this matrix.
Method Transpose:SMat2F()Returns the transpose of this matrix.
Method ToString:String() OverrideReturns a String representation of the matrix.
Function Identity:SMat2F()Returns the identity matrix.
Function Rotation:SMat2F(angle:Double)Creates a rotated matrix of angle degrees.
Function Scaling:SMat2F(s:SVec2F)Creates a scaled matrix of the scale s.
Function Scaling:SMat2F(s:SVec2D)Creates a scaled matrix of the scale s.