[THREE] three.js cylinder Geography openended

유진·2023년 9월 19일
0
post-thumbnail

2023.09.20.

cylinderGeography 기본값

 const geometry = new THREE.CylinderGeometry(1, 1, 1, 32);

뚜껑 열고 싶으면
뚜껑

 const geometry = new THREE.CylinderGeometry(1, 1, 1, 32, 1, true);

높이 뚜껑 열고 싶으면
높이뚜껑

 const geometry = new THREE.CylinderGeometry(1, 1, 1, 32, {openEnded: true});
profile
긍정 🍋🌻

0개의 댓글