diff --git a/rogueviz/smoothcam.cpp b/rogueviz/smoothcam.cpp index 8062dd4c..57bdd6cc 100644 --- a/rogueviz/smoothcam.cpp +++ b/rogueviz/smoothcam.cpp @@ -445,7 +445,7 @@ void after_interpolation(hyperpoint& h) { h = normalize(h); } -ld interpolate(const vector& times, vector values, ld t) { +ld interpolate(vector values, const vector& times, ld t) { int n = isize(values); print(hlog, "interpolate: ", values); @@ -460,7 +460,7 @@ ld interpolate(const vector& times, vector values, ld t) { values.pop_back(); } - println(hlog, " -> ", values[0]); + println(hlog, " -> ", values[0], " based on ", times, " -> ", t); return values[0]; }