industrial-harbor-viewer / node_modules /three /src /lights /DirectionalLightShadow.js
KoeYe's picture
Add viewer app, scene data, and three.js runtime
b797337 verified
Raw History Blame Contribute Delete
337 Bytes
import { LightShadow } from './LightShadow.js';
import { OrthographicCamera } from '../cameras/OrthographicCamera.js';
class DirectionalLightShadow extends LightShadow {
constructor() {
super( new OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) );
this.isDirectionalLightShadow = true;
}
}
export { DirectionalLightShadow };