SourceForge has been redesigned. Learn more.
Close

Diff of /math.c [322508] .. [ab0eb1]  Maximize  Restore

Switch to side-by-side view

--- 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;
 }