Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
addSunLight() {
const light = new SunLight(0xeeeeee, 1, { x: 1, y: 1, z: 1});
light.position({
x: (Math.random() * 200) - 100,
y: (Math.random() * 200) - 100,
z: (Math.random() * 200) - 100
});
light.addHelper();
}