UNPKG

three.fbo-helper

Version:

FrameBuffer Object inspector for three.js

27 lines (14 loc) 393 B
import { Light } from './Light'; /** * @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 };