Blender V5.0
curve_poly.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::bke
namespace  blender::bke::curves
namespace  blender::bke::curves::poly

Functions

static bool blender::bke::curves::poly::delta_dir (const float3 &pos, const float3 &next, float3 &r_delta_dir)
static float3 blender::bke::curves::poly::direction_bisect (const float3 &pos, const float3 &next, float3 &other_dir, bool &is_equal)
void blender::bke::curves::poly::calculate_tangents (Span< float3 > positions, bool is_cyclic, MutableSpan< float3 > tangents)
void blender::bke::curves::poly::calculate_normals_z_up (Span< float3 > tangents, MutableSpan< float3 > normals)
static float3 blender::bke::curves::poly::calculate_next_normal (const float3 &last_normal, const float3 &last_tangent, const float3 &current_tangent)
void blender::bke::curves::poly::calculate_normals_minimum (Span< float3 > tangents, bool cyclic, MutableSpan< float3 > normals)