Skip to content
Snippets Groups Projects
Commit 71c00b6a authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Fix misnomer

parent 7795df25
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
......@@ -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 &);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment