Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2Rot

Hierarchy

  • b2Rot

Index

Constructors

constructor

  • newb2Rot(angle?: number): b2Rot
  • Parameters

    • Default value angle: number = 0

    Returns b2Rot

Properties

c

c: number = 1

s

s: number = 0

Static Readonly IDENTITY

IDENTITY: Readonly<b2Rot> = new b2Rot()

Methods

Clone

  • Returns b2Rot

Copy

  • Copy(other: b2Rot): this
  • Parameters

    Returns this

GetAngle

  • GetAngle(): number
  • Returns number

GetXAxis

  • GetXAxis<T>(out: T): T
  • Type parameters

    Parameters

    • out: T

    Returns T

GetYAxis

  • GetYAxis<T>(out: T): T
  • Type parameters

    Parameters

    • out: T

    Returns T

SetAngle

  • SetAngle(angle: number): this
  • Parameters

    • angle: number

    Returns this

SetIdentity

  • SetIdentity(): this
  • Returns this

Static MulRR

  • Parameters

    Returns b2Rot

Static MulRV

  • MulRV<T>(q: b2Rot, v: XY, out: T): T
  • Type parameters

    Parameters

    Returns T

Static MulTRR

  • Parameters

    Returns b2Rot

Static MulTRV

  • MulTRV<T>(q: b2Rot, v: XY, out: T): T
  • Type parameters

    Parameters

    Returns T

Generated using TypeDoc