17 positions_per_attribute.
append(curves.positions_for_write());
19 positions_per_attribute.
append(curves.handle_positions_left_for_write());
20 positions_per_attribute.
append(curves.handle_positions_right_for_write());
22 return positions_per_attribute;
37 tv.
loc = positions[i];
50 return reinterpret_cast<float(*)[3]
>(
data);
Low-level operations for curves.
MINLINE void copy_v3_v3(float r[3], const float a[3])
Object is a sort of wrapper for general info.
void append(const T &value)
draw_view in_light_buf[] float
void *(* MEM_malloc_arrayN)(size_t len, size_t size, const char *str)
void *(* MEM_calloc_arrayN)(size_t len, size_t size, const char *str)
void curves_normals_point_domain_calc(const CurvesGeometry &curves, MutableSpan< float3 > normals)
float(* point_normals_array_create(const Curves *curves_id))[3]
Vector< MutableSpan< float3 > > get_curves_positions_for_write(bke::CurvesGeometry &curves)
void transverts_from_curves_positions_create(bke::CurvesGeometry &curves, TransVertStore *tvs)
IndexMask retrieve_selected_points(const bke::CurvesGeometry &curves, IndexMaskMemory &memory)