Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cylinder Orientation #28

Closed
wants to merge 2 commits into from
Closed

Cylinder Orientation #28

wants to merge 2 commits into from

Conversation

ianpurvis
Copy link

Adds primaryAxis to the cylinder constructor, which in turn drives selection of a vector factory function for quick and dirty geometry rotation.

radiusBottom: number,
height: number,
numSegments: number,
primaryAxis: Axis = Axis.Y
Copy link
Member

@marcofugaro marcofugaro Jun 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it makes sense to make this configurable, since the orientation can be changed afterwards.

It should simply be aligned by default with the Y axis.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but I got the idea from #13 ? Maybe @codynova can chime in. Anyways, it's easy to remove the configuration.

@codynova
Copy link
Member

codynova commented Jun 9, 2020

Closing in favor of #30, see #13 (comment)

Thanks for taking a look!

@codynova codynova closed this Jun 9, 2020
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.

3 participants