Blender  V3.3
Namespaces | Functions
curve_poly.cc File Reference
#include <algorithm>
#include "BLI_math_rotation.hh"
#include "BLI_math_vector.hh"
#include "BKE_curves.hh"

Go to the source code of this file.

Namespaces

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

Functions

static float3 blender::bke::curves::poly::direction_bisect (const float3 &prev, const float3 &middle, const float3 &next, bool &r_used_fallback)
 
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)