Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //create a rounded cube
- CSG roundedCube = new RoundedCube( 40,// X dimention
- 40,// Y dimention
- 40// Z dimention
- )
- .cornerRadius(4)// sets the radius of the corner
- .toCSG()// converts it to a CSG tor display
- return roundedCube
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement