Skip to content

Instantly share code, notes, and snippets.

@deque-blog

deque-blog/ring.cpp

Last active Sep 11, 2017
Embed
What would you like to do?
Shape2D ring(Coord2D center, double smallRadius, double bigRadius) {
return intersect(
disk(center, bigRadius),
outside(disk(center, smallRadius))
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.