添加关照、全局等高线、修改图层问题
This commit is contained in:
		| @ -0,0 +1,17 @@ | ||||
| import { InstancedBufferAttribute } from 'three'; | ||||
|  | ||||
| class StorageInstancedBufferAttribute extends InstancedBufferAttribute { | ||||
|  | ||||
| 	constructor( array, itemSize, typeClass = Float32Array ) { | ||||
|  | ||||
| 		if ( ArrayBuffer.isView( array ) === false ) array = new typeClass( array * itemSize ); | ||||
|  | ||||
| 		super( array, itemSize ); | ||||
|  | ||||
| 		this.isStorageInstancedBufferAttribute = true; | ||||
|  | ||||
| 	} | ||||
|  | ||||
| } | ||||
|  | ||||
| export default StorageInstancedBufferAttribute; | ||||
		Reference in New Issue
	
	Block a user