修改静态资源文件夹位置
This commit is contained in:
25
public/sdk/three/jsm/lights/IESSpotLight.js
Normal file
25
public/sdk/three/jsm/lights/IESSpotLight.js
Normal file
@ -0,0 +1,25 @@
|
||||
import { SpotLight } from 'three';
|
||||
|
||||
class IESSpotLight extends SpotLight {
|
||||
|
||||
constructor( color, intensity, distance, angle, penumbra, decay ) {
|
||||
|
||||
super( color, intensity, distance, angle, penumbra, decay );
|
||||
|
||||
this.iesMap = null;
|
||||
|
||||
}
|
||||
|
||||
copy( source, recursive ) {
|
||||
|
||||
super.copy( source, recursive );
|
||||
|
||||
this.iesMap = source.iesMap;
|
||||
|
||||
return this;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default IESSpotLight;
|
Reference in New Issue
Block a user