上传者: 42099987
|
上传时间: 2022-02-22 15:09:26
|
文件大小: 273KB
|
文件类型: -
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({