📜  js中的三个点 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:01:39.257000             🧑  作者: Mango

代码示例1
var dotGeometry = new THREE.Geometry();
dotGeometry.vertices.push(new THREE.Vector3( 0, 0, 0));
var dotMaterial = new THREE.PointsMaterial( { size: 1, sizeAttenuation: false } );
var dot = new THREE.Points( dotGeometry, dotMaterial );
scene.add( dot );