Skip to content

Instantly share code, notes, and snippets.

Last active Sep 11, 2017
What would you like to do?
Shape2D disk(Coord2D center, double radius) {
return [=](Coord2D const& c) {
return distance(center, c) <= radius;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment