Tresjs / cientos

Collection of useful helpers and fully functional, ready-made abstractions for TresJS
https://cientos.tresjs.org/
MIT License
241 stars 34 forks source link

`<Cylinder />` #437

Closed andretchen0 closed 3 weeks ago

andretchen0 commented 3 weeks ago

Description

As a developer using Tres, I would like to have a <Cylinder /> component in order to easily add a customizable cylinder to scenes.

Suggested solution

Implement a Cientos component with an underlying THREE.CylinderGeometry and accepting the props of the same, with the same defaults.

https://threejs.org/docs/#api/en/geometries/CylinderGeometry

Alternative

No response

Additional context

No response

Validations

JakobHock commented 3 weeks ago

Will create a PR for this