math docs
    Preparing search index...

    Function round

    • symmetric round the components of a vec2

      Parameters

      • out: vec2.Vec2

        the receiving vector

      • a: readonly [number, number]

        vector to round

      Returns vec2.Vec2

      out