Original Post
My apologies for asking a simple question. Given a point on earth (in latitude/longitude) and Sun's position (in azimuth/altitude), how can I find a vector pointing to the sun from point on earth and a vector pointing to the point on earth from sun? I need to feed this vector in ray/triangle intersection algorithm. Will appreciate any help - I am not a mathematician :(
