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

CylinderGeometry and PolyhedronGeometry: Set materialIndex for each face #7018

Merged
merged 1 commit into from
Aug 19, 2015

Conversation

makc
Copy link
Contributor

@makc makc commented Aug 19, 2015

For CylinderGeometry, set the materialIndex for the top cap to 1, and the materialIndex for the bottom cap to 2.

For PolyhedronGeometry, set a different materialIndex for each face.

Implements #6571

Cylinder and polyhedron use a different material Indix on each face.
@makc makc mentioned this pull request Aug 19, 2015
mrdoob added a commit that referenced this pull request Aug 19, 2015
@mrdoob mrdoob merged commit 22cb503 into mrdoob:dev Aug 19, 2015
@mrdoob
Copy link
Owner

mrdoob commented Aug 19, 2015

Thanks!

@WestLangley WestLangley changed the title pull request for #6762 CylinderGeometry and PolyhedronGeometry: Set materialIndex for each face Aug 19, 2015
@rfm1201 rfm1201 deleted the dev_6571 branch September 3, 2015 11:48
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