Property | Type | Description | |
---|---|---|---|
Ex | |||
Ey |
Method | Description | |
---|---|---|
Abs ( ) : |
Return the matrix composed of the absolute values of all elements. djm: fixed double allocation
|
|
Abs ( |
Return the matrix composed of the absolute values of all elements.
|
|
AbsLocal ( ) : void | ||
AbsToOut ( |
||
Add ( |
Add this matrix to B, return the result.
|
|
AddLocal ( |
Add B to this matrix locally.
|
|
Clone ( ) : |
Return a clone of this matrix. djm fixed double allocation
|
|
CreateRotationalTransform ( float angle ) : |
||
CreateRotationalTransform ( float angle, |
||
CreateScaleTransform ( float scale ) : |
||
CreateScaleTransform ( float scale, |
||
Equals ( Object obj ) : bool | ||
GetHashCode ( ) : int | ||
Invert ( ) : |
Returns the inverted Mat22 - does NOT invert the matrix locally!
|
|
InvertLocal ( ) : |
||
InvertToOut ( |
||
Mat22 ( ) : System |
Construct zero matrix. Note: this is NOT an identity matrix! djm fixed double allocation problem
|
|
Mat22 ( |
Create a matrix with given vectors as columns.
|
|
Mat22 ( float exx, float col2x, float exy, float col2y ) : System |
Create a matrix from four floats.
|
|
Mul ( |
Multiply another matrix by this one (this one on left). djm optimized
|
|
Mul ( |
||
Mul ( |
||
Mul ( |
Multiply a vector by this matrix.
|
|
MulLocal ( |
||
MulToOut ( |
||
MulToOut ( |
||
MulToOut ( |
||
MulToOut ( |
||
MulToOutUnsafe ( |
||
MulToOutUnsafe ( |
||
MulToOutUnsafe ( |
||
MulToOutUnsafe ( |
||
MulTrans ( |
Multiply another matrix by the transpose of this one (transpose of this one on left). djm: optimized
|
|
MulTrans ( |
||
MulTrans ( |
||
MulTrans ( |
Multiply a vector by the transpose of this matrix.
|
|
MulTransLocal ( |
||
MulTransToOut ( |
||
MulTransToOut ( |
||
MulTransToOut ( |
||
MulTransToOut ( |
||
MulTransToOutUnsafe ( |
||
MulTransToOutUnsafe ( |
||
MulTransToOutUnsafe ( |
||
Set ( |
Set as a copy of another matrix.
|
|
Set ( float exx, float col2x, float exy, float col2y ) : |
||
Set ( |
Set by column vectors.
|
|
Set ( float angle ) : void |
Set as a matrix representing a rotation.
|
|
SetIdentity ( ) : void |
Set as the identity matrix.
|
|
SetZero ( ) : void |
Set as the zero matrix.
|
|
Solve ( |
Solve A * x = b where A = this matrix.
|
|
SolveToOut ( |
||
ToString ( ) : String |
Convert the matrix to printable format.
|
public static AbsToOut ( |
||
r | ||
result | ||
return | void |
public static CreateRotationalTransform ( float angle ) : |
||
angle | float | |
return |
public static CreateRotationalTransform ( float angle, |
||
angle | float | |
result | ||
return | void |
public static CreateScaleTransform ( float scale ) : |
||
scale | float | |
return |
public static CreateScaleTransform ( float scale, |
||
scale | float | |
result | ||
return | void |
public Mat22 ( |
||
c1 | Column 1 of matrix | |
c2 | Column 2 of matrix | |
return | System |
public Mat22 ( float exx, float col2x, float exy, float col2y ) : System | ||
exx | float | |
col2x | float | |
exy | float | |
col2y | float | |
return | System |
public static Mul ( |
||
a | ||
b | ||
return |
public MulToOut ( |
||
r | ||
result | ||
return | void |
public static MulToOut ( |
||
a | ||
b | ||
result | ||
return | void |
public static MulToOut ( |
||
r | ||
v | ||
result | ||
return | void |
public MulToOut ( |
||
v | ||
result | ||
return | void |
public MulToOutUnsafe ( |
||
r | ||
result | ||
return | void |
public static MulToOutUnsafe ( |
||
a | ||
b | ||
result | ||
return | void |
public static MulToOutUnsafe ( |
||
r | ||
v | ||
result | ||
return | void |
public MulToOutUnsafe ( |
||
v | ||
result | ||
return | void |
public static MulTrans ( |
||
a | ||
b | ||
return |
public static MulTrans ( |
||
r | ||
v | ||
return |
public MulTransToOut ( |
||
b | ||
result | ||
return | void |
public static MulTransToOut ( |
||
a | ||
b | ||
result | ||
return | void |
public static MulTransToOut ( |
||
r | ||
v | ||
result | ||
return | void |
public MulTransToOut ( |
||
v | ||
result | ||
return | void |
public MulTransToOutUnsafe ( |
||
b | ||
result | ||
return | void |
public static MulTransToOutUnsafe ( |
||
a | ||
b | ||
result | ||
return | void |
public static MulTransToOutUnsafe ( |
||
r | ||
v | ||
result | ||
return | void |
public Set ( float exx, float col2x, float exy, float col2y ) : |
||
exx | float | |
col2x | float | |
exy | float | |
col2y | float | |
return |
public Set ( |
||
c1 | Column 1 | |
c2 | Column 2 | |
return | void |
public Set ( float angle ) : void | ||
angle | float | Rotation (in radians) that matrix represents. |
return | void |
public SolveToOut ( |
||
b | ||
result | ||
return | void |