mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-15 19:45:38 +02:00
Update ductRailSpotLights.ts
This commit is contained in:
@@ -67,7 +67,7 @@ export const ductRailSpotLights = defineObject({
|
||||
for (const lamp of lamps) {
|
||||
const light = new BABYLON.SpotLight('', new BABYLON.Vector3(cm(0), cm(0), 0), new BABYLON.Vector3(0, -1, 0), Math.PI / 1, 2, scene, room?.lightContainer != null);
|
||||
light.parent = lamp;
|
||||
light.radius = cm(5);
|
||||
light.radius = cm(8);
|
||||
if (room?.lightContainer != null) room.lightContainer.addLight(light);
|
||||
lights.push(light);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user