TetrahedronGeometry
一个用于生成四面几何体的类。
js
const geometry = new THREE.TetrahedronGeometry(
radius : Float,
detail : Integer
)参数:
- radius — 四面体的半径,默认值为1。
- detail — 默认值为0。将这个值设为一个大于0的数将会为它增加一些顶点,使其不再是一个四面体。
