Skip to content

Instantly share code, notes, and snippets.

@madhephaestus
Last active February 20, 2020 21:59
Show Gist options
  • Select an option

  • Save madhephaestus/d56e9ddbac6bbfb7702cf3d4d53b0527 to your computer and use it in GitHub Desktop.

Select an option

Save madhephaestus/d56e9ddbac6bbfb7702cf3d4d53b0527 to your computer and use it in GitHub Desktop.
RoundedCylinder
CSG roundedCylinder = new RoundedCylinder(50,60.0)
.cornerRadius(10)// sets the radius of the corner
.toCSG()// converts it to a CSG tor display
return roundedCylinder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment