math docs
    Preparing search index...

    Function clone

    • Creates a new vec3 initialized with values from an existing vector

      Parameters

      • a: readonly [number, number, number]

        vector to clone

      Returns vec3.Vec3

      a new 3D vector