Sun study problem

i find a really nice component developed by Arend in C# for calculating direction of sun based on time and location, the problem is that the sun rises from the west , (in the second pic you should see the right sun’s position) the location I’m looking at is Ningbo , China 29.8683° N, 121.5440° E
Any thing I am missing? (25.5 KB)

sun direction is wrong
with azimuth/altitude you get the right position of the sun (17.9 KB)

1 Like

Is the sun direction referring to the direction in which the sun points (azimuth + 180°) for shadow casting? (17.9 KB)