From 71c00b6af93993a4ef8468736c90c430e90c79cb Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sat, 19 Jul 2014 22:24:30 +0200 Subject: [PATCH] [Cleanup] Fix misnomer --- src/sand-wedge-data/mygeometry.cc | 2 +- src/sand-wedge-data/mygeometry.hh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/sand-wedge-data/mygeometry.cc b/src/sand-wedge-data/mygeometry.cc index 6a22bf81..da254258 100644 --- a/src/sand-wedge-data/mygeometry.cc +++ b/src/sand-wedge-data/mygeometry.cc @@ -16,7 +16,7 @@ double MyGeometry::verticalProjection(LocalVector const &x) { return zenith * x; } double MyGeometry::horizontalProjection(LocalVector const &x) { - return rotatedZenith * x; + return orthogonalZenith * x; } void MyGeometry::write() { diff --git a/src/sand-wedge-data/mygeometry.hh b/src/sand-wedge-data/mygeometry.hh index eea24864..25ef5027 100644 --- a/src/sand-wedge-data/mygeometry.hh +++ b/src/sand-wedge-data/mygeometry.hh @@ -60,7 +60,7 @@ namespace reference { LocalVector2D const I = createVector(Y[0] + G[0], Y[1] + G[1]); LocalVector2D const zenith = createVector(0, 1); - LocalVector2D const rotatedZenith = createVector(-1, 0); + LocalVector2D const orthogonalZenith = createVector(-1, 0); LocalMatrix2D const rotation = createMatrix(std::cos(leftAngle), -std::sin(leftAngle), @@ -95,8 +95,7 @@ LocalVector const Y = rotate(reference::Y); LocalVector const Z = rotate(reference::Z); LocalVector const zenith = rotate(reference::zenith); -LocalVector const rotatedZenith = - rotate(reference::rotatedZenith); // FIXME: misnomer +LocalVector const orthogonalZenith = rotate(reference::orthogonalZenith); double verticalProjection(LocalVector const &); double horizontalProjection(LocalVector const &); -- GitLab