Cleanup: make format

This commit is contained in:
Dalai Felinto 2022-05-30 16:16:25 +02:00
parent a775389823
commit 65bd9974d1
2 changed files with 4 additions and 2 deletions

View File

@ -486,7 +486,8 @@ bool segment_is_vector(Span<int8_t> handle_types_left,
* Return true if the curve's last cyclic segment has a vector type.
* This only makes a difference in the shape of cyclic curves.
*/
bool last_cyclic_segment_is_vector(Span<int8_t> handle_types_left, Span<int8_t> handle_types_right);
bool last_cyclic_segment_is_vector(Span<int8_t> handle_types_left,
Span<int8_t> handle_types_right);
/**
* Return true if the handle types at the index are free (#BEZIER_HANDLE_FREE) or vector

View File

@ -49,7 +49,8 @@ void calculate_evaluated_offsets(const Span<int8_t> handle_types_left,
}
if (cyclic) {
offset += last_cyclic_segment_is_vector(handle_types_left, handle_types_right) ? 1 : resolution;
offset += last_cyclic_segment_is_vector(handle_types_left, handle_types_right) ? 1 :
resolution;
}
else {
offset++;