From d417ed2632eb97f133347db2201da447632a3dc9 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 24 May 2008 00:13:08 +0200 Subject: comments --- src/lsq_rectilinear.mac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lsq_rectilinear.mac') diff --git a/src/lsq_rectilinear.mac b/src/lsq_rectilinear.mac index 4ed1e09..8e0c0f3 100644 --- a/src/lsq_rectilinear.mac +++ b/src/lsq_rectilinear.mac @@ -2,7 +2,7 @@ * rectilinear (pinhole) projection model with distortion correction */ -/* switch to cartesian coordinates for nick rotation */ +/* switch to cartesian coordinates */ 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)$ @@ -12,8 +12,11 @@ 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$ +/* pinhole projection */ x : c_y_rot / c_x_rot$ y : - c_z_rot / c_x_rot$ + +/* rotation around view axis */ x_rot : y * sin(c_tilt) + x * cos(c_tilt)+x0$ y_rot : y * cos(c_tilt) - x * sin(c_tilt)$ -- cgit v1.2.3