Function transformMat4Upper3x3

  • Transform vec3 by upper 3x3 matrix inside 4x4 matrix.

    Type Parameters

    Parameters

    • v: BaseArgType

      The direction.

    • m: BaseArgType

      The matrix.

    • Optional dst: T

      optional vec3 to store result. If not passed a new one is created.

    Returns T

    The transformed vector.