open-pv / simshady

Simulating Shadows for PV Potential Analysis on 3D Data in the Browser :sunny:
https://open-pv.github.io/simshady/
Apache License 2.0
5 stars 0 forks source link

`Scene.addShadingGeometry` should not be necessary #12

Open FlorianK13 opened 1 month ago

FlorianK13 commented 1 month ago

If I only have one geometry I want to simulate, I will add it via addSimulationGeometry. If shadingGeometries is empty, this throws an error right now.

khdlr commented 1 month ago

Good point, we'll need to fix that.