Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/b/l/blenderpython-HEAD/scripts/addons_extern/sun_position/hdr.py   blenderpython(Download)
import math
 
from . sun_calc import degToRad, radToDeg, format_hms
from . properties import Display, Sun
 
    if crossChange and not Hdr.lockCrosshair:
        Sun.SP.HDR_azimuth = degToRad(newAzimuth + 180)
    azimuth = ((radToDeg(Sun.SP.HDR_azimuth) - 180) * x / 180.0) + x
 
    bgl.glEnable(bgl.GL_BLEND)