Add forgotten return

This commit is contained in:
Emma Broman
2020-04-29 14:12:15 +02:00
parent 4ff17ae078
commit c979e6613d
+2 -1
View File
@@ -74,7 +74,8 @@ const std::vector<glm::dvec3> PathSegment::getControlPoints() const {
CameraPose PathSegment::traversePath(double dt) {
if (!_curve || !_rotationInterpolator || !_speedFunction) {
LERROR("Cannot traverse path. Curvec type has not been properly defined.");
LERROR("Cannot traverse path. Curve type has not been properly defined.");
return _start.pose;
}
// compute displacement along the path during this frame