ThreeJS圆锥多边形几何
ThreeJS几何类,用于使用圆锥体在球面上绘制多边形。
例子:
( )
( )
快速开始
import { ConicPolygonGeometry } from 'three-conic-polygon-geometry';
或者
const { ConicPolygonGeometry } = require('three-conic-polygon-geometry');
甚至
[removed][removed]
然后
const myMesh = new THREE.Mesh(
new THREE.ConicPolygonGeometry(polygonGeoJson),
new THREE.MeshBasicMaterial({
1