Function scale3d

scale3d(sx, sy, sz) returns a nonuniform scaling by factors $s_x$, $s_y$, $s_z$ along $x$, $y$, $z$ axes.

  • Parameters

    • sx: Num

      x scale factor

    • sy: Num

      y scale factor

    • sz: Num

      z scale factor

    Returns Num[][]

    3D scaling matrix