UNPKG

three

Version:

JavaScript 3D library

18 lines (9 loc) 249 B
import { Light } from './Light.js'; class AmbientLight extends Light { constructor( color, intensity ) { super( color, intensity ); this.type = 'AmbientLight'; } } AmbientLight.prototype.isAmbientLight = true; export { AmbientLight };