--- a/math.c
+++ b/math.c
@@ -1824,6 +1824,8 @@
 {
 	*x_src = atan2(xyz[0],-xyz[2]) * distance;
 	*y_src = asin(xyz[1]/sqrt(xyz[0]*xyz[0]+xyz[1]*xyz[1]+xyz[2]*xyz[2])) * distance;
+
+  return 1;
 }