Moore cleanup

This commit is contained in:
Emma Broman
2021-06-08 09:00:30 +02:00
parent e6e28d0fe4
commit ff7301fbc7
8 changed files with 81 additions and 88 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ CameraPose Path::traversePath(double dt) {
std::string Path::currentAnchor() const {
bool pastHalfway = (_traveledDistance / pathLength()) > 0.5;
return (pastHalfway) ? _end.nodeDetails.identifier : _start.nodeDetails.identifier;
return (pastHalfway) ? _end.nodeIdentifier : _start.nodeIdentifier;
}
bool Path::hasReachedEnd() const {