Blender V5.0
crease.cc File Reference

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::brushes::crease_cc::LocalData

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ed::sculpt_paint::brushes
namespace  blender::ed::sculpt_paint::brushes::crease_cc

Functions

static BLI_NOINLINE void blender::ed::sculpt_paint::brushes::crease_cc::translations_from_position (const Span< float3 > positions_eval, const Span< int > verts, const float3 &location, const MutableSpan< float3 > translations)
static BLI_NOINLINE void blender::ed::sculpt_paint::brushes::crease_cc::translations_from_position (const Span< float3 > positions, const float3 &location, const MutableSpan< float3 > translations)
static BLI_NOINLINE void blender::ed::sculpt_paint::brushes::crease_cc::add_offset_to_translations (const MutableSpan< float3 > translations, const Span< float > factors, const float3 &offset)
static void blender::ed::sculpt_paint::brushes::crease_cc::calc_faces (const Depsgraph &depsgraph, const Sculpt &sd, const Brush &brush, const float3 &offset, const float strength, const MeshAttributeData &attribute_data, const Span< float3 > vert_normals, const bke::pbvh::MeshNode &node, Object &object, LocalData &tls, const PositionDeformData &position_data)
static void blender::ed::sculpt_paint::brushes::crease_cc::calc_grids (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float3 &offset, const float strength, bke::pbvh::GridsNode &node, LocalData &tls)
static void blender::ed::sculpt_paint::brushes::crease_cc::calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const float3 &offset, const float strength, bke::pbvh::BMeshNode &node, LocalData &tls)
static void blender::ed::sculpt_paint::brushes::crease_cc::do_crease_or_blob_brush (const Depsgraph &depsgraph, const Sculpt &sd, const bool invert_strength, Object &object, const IndexMask &node_mask)
void blender::ed::sculpt_paint::brushes::do_crease_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &ob, const IndexMask &node_mask)
void blender::ed::sculpt_paint::brushes::do_blob_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &ob, const IndexMask &node_mask)