A 2-by-2 matrix. Stored in column-major order.
public function b2Mat22(angle:Number = 0, c1:b2Vec2 = null, c2:b2Vec2 = null)
Parameters
| angle:Number (default = 0 )
|
|
| c1:b2Vec2 (default = null )
|
|
| c2:b2Vec2 (default = null )
|
public function Abs():void
public function AddM(m:b2Mat22):void
Parameters
public function Copy():b2Mat22
Returns
public function GetAngle():Number
Returns
public function GetInverse(out:b2Mat22):b2Mat22
Compute the inverse of this matrix, such that inv(A) A = identity.
Parameters
Returns
public function Set(angle:Number):void
Parameters
public function SetIdentity():void
public function SetM(m:b2Mat22):void
Parameters
public function SetVV(c1:b2Vec2, c2:b2Vec2):void
Parameters
public function SetZero():void
public function Solve(out:b2Vec2, bX:Number, bY:Number):b2Vec2
Parameters
| out:b2Vec2 |
|
| bX:Number |
|
| bY:Number |
Returns
Box2DFlashAS3 r42.