takeWhile

inline fun takeWhile(predicate: (Vector2F) -> Boolean): List<Vector2F>

Returns a list containing first elements satisfying the given predicate.