Constructors
constructor
- newb2Rot(angle?: number): b2Rot
-
Parameters
-
Default value angle: number = 0
Properties
c
c: number = 1
s
s: number = 0
Static Readonly IDENTITY
IDENTITY
: Readonly<b2Rot> = new b2Rot()
Methods
Clone
-
Copy
-
Parameters
Returns this
GetAngle
-
Returns number
GetXAxis
-
Type parameters
Parameters
Returns T
GetYAxis
-
Type parameters
Parameters
Returns T
SetAngle
- SetAngle(angle: number): this
-
Parameters
Returns this
SetIdentity
-
Returns this
Static MulRR
-
Parameters
Static MulRV
- MulRV<T>(q: b2Rot, v: XY, out: T): T
-
Type parameters
Parameters
Returns T
Static MulTRR
-
Parameters
Static MulTRV
- MulTRV<T>(q: b2Rot, v: XY, out: T): T
-
Type parameters
Parameters
Returns T