After a terribly frustrating week I finally found the bug:
An angle in degrees instead of radiants...
That happens, and of course I immediatly tought of that, one week ago, but the documentation of the function was wrong, and asked for a DEGREE angle...
Well, I'm still angry with that, but now everything is fine, and in the picture you can see five lights and the five shadows casted by the lit surfaces.
Nessun commento:
Posta un commento