diff --git a/src/sand-wedge-data/mygeometry.cc b/src/sand-wedge-data/mygeometry.cc index 6a22bf8150f8385d22dcb843398358b5924f356b..da25425846678e1b8a1ded2d2b9ba4850b10f39f 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 eea24864ca0f11a6c6bd26066eff1ea1e0ebbb6f..25ef5027cd08ce392d8b0ccf2c94d781e0317921 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 &);