preact
This commit is contained in:
parent
6acf267d48
commit
b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions
25
frontend/node_modules/three/examples/jsm/lights/IESSpotLight.js
generated
vendored
Normal file
25
frontend/node_modules/three/examples/jsm/lights/IESSpotLight.js
generated
vendored
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue