Function setUnitZ

  • Sets the elements of the 3D vector a so it becomes a unit vector along the z-axis

    Parameters

    • a: Vec3

      a 3-element vector object

    Returns Vec3

    a set to be a unit vector along the z-axis

Generated using TypeDoc