8 lines
192 B
JavaScript
8 lines
192 B
JavaScript
export class Light {
|
|
constructor({ ambient, cutoffAngle, intensity }) {
|
|
this.ambient = ambient;
|
|
this.cutoffAngle = cutoffAngle;
|
|
this.intensity = intensity;
|
|
}
|
|
}
|