mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-17 19:04:40 +00:00
larry babby and threejs for glsl
This commit is contained in:
25
webGl/my-threejs-test/node_modules/three/examples/jsm/lights/IESSpotLight.js
generated
vendored
Normal file
25
webGl/my-threejs-test/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;
|
||||
Reference in New Issue
Block a user