Module transform2d

Procs

proc initTransform2D(): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc initTransform2D(rot: float32; pos: Vector2): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc initTransform2D(xAxis, yAxis, origin: Vector2): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc `$`(self: Transform2D): string {.
inline, raises: [], tags: []
.}
  Source Edit
proc inverse(self: Transform2D): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc affineInverse(self: Transform2D): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc rotation(self: Transform2D): float32 {.
inline, raises: [], tags: []
.}
  Source Edit
proc origin(self: Transform2D): Vector2 {.
inline, raises: [], tags: []
.}
  Source Edit
proc scale(self: Transform2D): Vector2 {.
inline, raises: [], tags: []
.}
  Source Edit
proc orthonormalized(self: Transform2D): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc rotated(self: Transform2D; phi: float32): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc scaled(self: Transform2D; scale: Vector2): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc translated(self: Transform2D; offset: Vector2): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc xformVector2(self: Transform2D; v: Vector2): Vector2 {.
inline, raises: [], tags: []
.}
  Source Edit
proc xformInvVector2(self: Transform2D; v: Vector2): Vector2 {.
inline, raises: [], tags: []
.}
  Source Edit
proc basisXformVector2(self: Transform2D; v: Vector2): Vector2 {.
inline, raises: [], tags: []
.}
  Source Edit
proc basisXformInvVector2(self: Transform2D; v: Vector2): Vector2 {.
inline, raises: [], tags: []
.}
  Source Edit
proc xformRect2(self: Transform2D; rect: Rect2): Rect2 {.
inline, raises: [], tags: []
.}
  Source Edit
proc xformInvRect2(self: Transform2D; rect: Rect2): Rect2 {.
inline, raises: [], tags: []
.}
  Source Edit
proc interpolateWith(self, m: Transform2D; c: float32): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc `==`(a, b: Transform2D): bool {.
inline, raises: [], tags: []
.}
  Source Edit
proc `*`(a, b: Transform2D): Transform2D {.
inline, raises: [], tags: []
.}
  Source Edit
proc `*=`(a: var Transform2D; b: Transform2D) {.
inline, raises: [], tags: []
.}
  Source Edit