Explicitly set nurbs order to 4.

This commit is contained in:
aignacio_sf 2007-01-31 04:20:31 +00:00
parent 91ceb9fb26
commit 8a0a85a3a7

View File

@ -487,6 +487,7 @@ update_motion_trail (float current_time, LMatrix4f *transform) {
for (index = 0; index < total_vertices; index++) { for (index = 0; index < total_vertices; index++) {
motion_trail_vertex = &_vertex_array [index]; motion_trail_vertex = &_vertex_array [index];
nurbs_curve_evaluator = motion_trail_vertex -> _nurbs_curve_evaluator; nurbs_curve_evaluator = motion_trail_vertex -> _nurbs_curve_evaluator;
nurbs_curve_evaluator -> set_order (4);
nurbs_curve_evaluator -> reset (total_segments); nurbs_curve_evaluator -> reset (total_segments);
} }
} }