Options
All
  • Public
  • Public/Protected
  • All
Menu

A 3-by3 matrix. Stored in column-major order.

Hierarchy

  • b2Mat33

Index

Constructors

constructor

  • Constructor

    Parameters

    Returns b2Mat33

Properties

col1

col1: b2Vec3

Column 1

col2

col2: b2Vec3

Column 2

col3

col3: b2Vec3

Column 3

Methods

AddM

  • Adds the two 3x3 matricies together and stores the result in this matrix.

    Parameters

    Returns void

Copy

  • Creates a copy of the matrix.

    Returns b2Mat33

    Copy of this 3x3 matrix.

SetIdentity

  • SetIdentity(): void
  • Sets the 3x3 matrix to identity.

    Returns void

SetM

  • Sets the 3x3 matrix from a 3x3 matrix.

    Parameters

    Returns void

SetVVV

  • Sets the 3x3 matrix from 3 column vectors.

    Parameters

    Returns void

SetZero

  • SetZero(): void
  • Sets the 3x3 matrix to all zeros.

    Returns void

Solve22

  • TODO, has something to do with the determinant

    Parameters

    • out: b2Vec2

      Solved vector

    • bX: number
    • bY: number

    Returns b2Vec2

    Solved vector

Solve33

  • Solve33(out: b2Vec3, bX: number, bY: number, bZ: number): b2Vec3
  • TODO, has something to do with the determinant

    Parameters

    • out: b2Vec3

      Solved vector

    • bX: number
    • bY: number
    • bZ: number

    Returns b2Vec3

    Solved vector

Generated using TypeDoc