low-alloc-math
1.1.0
common
low-alloc-math
/
com.sztorm.lowallocmath
/
Vector2FArray
/
sumOf
sum
Of
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
Double
)
:
Double
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
Int
)
:
Int
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
UInt
)
:
UInt
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
Long
)
:
Long
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
ULong
)
:
ULong
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
Vector2F
)
:
Vector2F
Returns the sum of all values produced by
selector
function applied to each element in the array.