LightPosition

fun LightPosition(radialCoordinate: Double, azimuthalAngle: Double, polarAngle: Double)

Parameters

azimuthalAngle

the position of the light relative to 0 degree

polarAngle

the height of the light

radialCoordinate

the distance from the center of the base of an object to its light