summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-05-22 16:47:56 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-05-22 16:47:56 +0200
commitf35a69d7bfb469f664735a1499d7eb553cdd597f (patch)
tree67cb4034670a17ec5629d5d564c7bf1680af591f
parentd98e0c7977a5872bf3f32926b75ef7df14090b7e (diff)
comments and whitespace
-rw-r--r--src/lsq_rectilinear.mac5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lsq_rectilinear.mac b/src/lsq_rectilinear.mac
index cea35e1..3c5b367 100644
--- a/src/lsq_rectilinear.mac
+++ b/src/lsq_rectilinear.mac
@@ -7,12 +7,13 @@ c_x : cos(m_nick) * cos(m_view - c_view)$
c_y : cos(m_nick) * sin(m_view - c_view)$
c_z : sin(m_nick)$
+/* nick rotation */
c_x_rot : cos(c_nick) * c_x$ + sin(c_nick) * c_z$
c_y_rot : c_y$
c_z_rot : -sin(c_nick) * c_x + cos(c_nick) * c_z$
-/* back to spheric coordinates */
-a_h : (\pi/2 - acos(c_z_rot))$
+/* back to spherical coordinates */
+a_h : \pi / 2 - acos(c_z_rot)$
a_v : atan(c_y_rot / c_x_rot)$
/* angle over horizon in view direction */