Vertex Viewer SDK
    Preparing search index...

    Function makeScale

    • Creates a scale matrix.

      x, 0, 0, 0,
      0, y, 0, 0,
      0, 0, z, 0,
      0, 0, 0, 1

      Parameters

      • scale: Vector3.Vector3

        A vector representing the different scale components.

      Returns Matrix4.Matrix4

      A scale matrix.