Arc angle of the lightsource. Can be used to generate a cone of light up to an arc angle of 180 degrees. Anything above 180 degrees will result in a full circle.
However simply removing this branch from the update_angle() function in lightsource.script#33, and setting an arc_angle larger than 180° works fine for me:
if arc_angle > 180 then
x = 0
y = 180
z = 0
w = -180
else
So why is this limitation of 180° in place?
Let me know if you think it can be removed and I'll make a PR :)
The README says:
However simply removing this branch from the
update_angle()
function inlightsource.script#33
, and setting anarc_angle
larger than180°
works fine for me:So why is this limitation of
180°
in place?Let me know if you think it can be removed and I'll make a PR :)