sum

@JvmName(name = "sumOfVector2F")
fun Array<out Vector2F>.sum(): Vector2F
@JvmName(name = "sumOfVector2I")
fun Array<out Vector2I>.sum(): Vector2I

Returns the sum of all elements in the array.


@JvmName(name = "sumOfVector2F")
fun Iterable<Vector2F>.sum(): Vector2F
@JvmName(name = "sumOfVector2I")
fun Iterable<Vector2I>.sum(): Vector2I

Returns the sum of all elements in the collection.