yolkbot
    Preparing search index...

    Function untransform

    • Rotates a vector from world space back into local space (v * M^-1). Valid only because every collision matrix is a pure rotation, so the inverse is just the transpose.

      Parameters

      • m: Mat3

        The rotation

      • x: number

        The X component

      • y: number

        The Y component

      • z: number

        The Z component

      • out: Position

        The vector to write the result into

      Returns void