添加关照、全局等高线、修改图层问题
This commit is contained in:
21
static/sdk/three/jsm/objects/InstancedPoints.js
Normal file
21
static/sdk/three/jsm/objects/InstancedPoints.js
Normal file
@ -0,0 +1,21 @@
|
||||
import {
|
||||
Mesh
|
||||
} from 'three';
|
||||
import InstancedPointsGeometry from '../geometries/InstancedPointsGeometry.js';
|
||||
import InstancedPointsNodeMaterial from '../nodes/materials/InstancedPointsNodeMaterial.js';
|
||||
|
||||
class InstancedPoints extends Mesh {
|
||||
|
||||
constructor( geometry = new InstancedPointsGeometry(), material = new InstancedPointsNodeMaterial() ) {
|
||||
|
||||
super( geometry, material );
|
||||
|
||||
this.isInstancedPoints = true;
|
||||
|
||||
this.type = 'InstancedPoints';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default InstancedPoints;
|
Reference in New Issue
Block a user