Files
red-valley/resources/[framework]/[depends]/phone-render/module/lights/AmbientLight.js
2026-03-29 21:41:17 +03:00

27 lines
395 B
JavaScript

import { Light } from './Light.js';
/**
* @author mrdoob / http://mrdoob.com/
*/
function AmbientLight( color, intensity ) {
Light.call( this, color, intensity );
this.type = 'AmbientLight';
this.castShadow = undefined;
}
AmbientLight.prototype = Object.assign( Object.create( Light.prototype ), {
constructor: AmbientLight,
isAmbientLight: true
} );
export { AmbientLight };