Function transformMat4

  • transform vec3 by 4x4 matrix

    Type Parameters

    Parameters

    • v: BaseArgType

      the vector

    • 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