Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_curves.hh
| Context not available. | |||||
| /** | /** | ||||
| * Calculate directions perpendicular to the tangent at every point by rotating an arbitrary | * Calculate directions perpendicular to the tangent at every point by rotating an arbitrary | ||||
| * starting vector by the same rotation of each tangent. If the curve is cylic, propagate a | * starting vector by the same rotation of each tangent. If the curve is cyclic, propagate a | ||||
| * correction through the entire to make sure the first and last normal align. | * correction through the entire to make sure the first and last normal align. | ||||
| */ | */ | ||||
| void calculate_normals_minimum(Span<float3> tangents, bool cyclic, MutableSpan<float3> normals); | void calculate_normals_minimum(Span<float3> tangents, bool cyclic, MutableSpan<float3> normals); | ||||
| Context not available. | |||||
| int segment_index); | int segment_index); | ||||
| /** | /** | ||||
| * Return true if the curve's last cylic segment has a vector type. | * Return true if the curve's last cyclic segment has a vector type. | ||||
| * This only makes a difference in the shape of cyclic curves. | * This only makes a difference in the shape of cyclic curves. | ||||
| */ | */ | ||||
| bool last_cylic_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 | * Return true if the handle types at the index are free (#BEZIER_HANDLE_FREE) or vector | ||||
| Context not available. | |||||