Function parseMatrix4

  • Parses a GDTF Position string into a three.js Matrix4.

    Parameters

    • matrix: string

      A GDTF Position string like:

      let positionString = "{11,12,13,14}{21,22,23,24}{31,32,33,34}{41,42,43,44}"
      

    Returns Matrix4

    new Matrix4(11, 12, 13, 14, 21, 22, 23, 24, 31, 32, 33, 34, 41, 42, 43, 44)
    

Generated using TypeDoc