math docs
    Preparing search index...

    Function fromBuffer

    • Sets the components of a vec2 from a buffer

      Parameters

      • out: vec2.Vec2

        the receiving vector

      • buffer: ArrayLike<number>

        the source buffer

      • startIndex: number

        the starting index in the buffer

      Returns vec2.Vec2

      out