Skip to content

Conversation

@marcofugaro
Copy link
Member

Original issue: schteppe#329

Since the cylinder is a ConvexPolyhedron under the hood, it was using its type to test the collisions agains other objects.

Now that it has a type by itself, the Cylinder collisions methods were needed. I created them and made them call the ConvexPolyhedron collisions methods.

I also exposed the radiusTop radiusBottom height numSegments properties of the Cylinder.

@marcofugaro marcofugaro merged commit 1372dc9 into master Dec 24, 2020
@marcofugaro marcofugaro deleted the cylinder-type branch December 24, 2020 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants