Cleanup: make format
This commit is contained in:
parent
a775389823
commit
65bd9974d1
|
@ -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
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue