How do I find the following angle $a$ given $2$ points $(x, y, z)$ in $3$-dimensional space?
I've drawn $2$ points, one in green, one in red. The curved black line being the earth, and the normal vector is perpendicular to the earth. Green point is on the ground, and red point will always be above ground. Can assume earth is centered at $(0, 0, 0)$
Edit: can assume red vector is pointing in opposite direction than drawn.