Skip to content
Snippets Groups Projects
Commit b048151f authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

fix an error in extract method

parent 703b04f4
No related branches found
No related tags found
No related merge requests found
......@@ -331,7 +331,7 @@ struct bezier_curve : public curve_abc<Time, Numeric, Dim, Safe, Point>
return split(t1).second;
std::pair<bezier_curve_t,bezier_curve_t> c_split = this->split(t1);
return c_split.second->split(t2).first;
return c_split.second.split(t2-t1).first;
}
private:
......
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