Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // pointsCnt - i - 1 is less that null
- Point second = collection[(i + 1) >= pointsCnt ? pointsCnt - i - 1 : i + 1],
- third = collection[(i + 2) >= pointsCnt ? pointsCnt - i - 2 : i + 2];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement