Rot class

Constructors

Rot()
Rot.withAngle(double angle)

Properties

c double
read / write
s double
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clone() Rot
getAngle() double
getCos() double
getSin() double
getXAxis(Vector2 xAxis) → void
getYAxis(Vector2 yAxis) → void
set(Rot other) Rot
setAngle(double angle) Rot
setIdentity() Rot
toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

mul(Rot q, Rot r, Rot out) → void
mulToOut(Rot q, Vector2 v, Vector2 out) → void
mulToOutUnsafe(Rot q, Vector2 v, Vector2 out) → void
mulTrans(Rot q, Rot r, Rot out) → void
mulTransUnsafe(Rot q, Rot r, Rot out) → void
mulTransUnsafeVec2(Rot q, Vector2 v, Vector2 out) → void
mulTransVec2(Rot q, Vector2 v, Vector2 out) → void
mulUnsafe(Rot q, Rot r, Rot out) → void