Blender V4.3
snake_hook.cc File Reference

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::snake_hook_cc::LocalData
 
struct  blender::ed::sculpt_paint::snake_hook_cc::SculptProjectVector
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::snake_hook_cc
 

Functions

static void blender::ed::sculpt_paint::snake_hook_cc::sculpt_project_v3_cache_init (SculptProjectVector *spvc, const float3 &plane)
 
static void blender::ed::sculpt_paint::snake_hook_cc::sculpt_project_v3 (const SculptProjectVector *spvc, const float3 &vec, float3 &r_vec)
 
static float3 blender::ed::sculpt_paint::snake_hook_cc::sculpt_rake_rotate (const StrokeCache &cache, const float3 &sculpt_co, const float3 &v_co, float factor)
 
static BLI_NOINLINE void blender::ed::sculpt_paint::snake_hook_cc::calc_pinch_influence (const Brush &brush, const StrokeCache &cache, const float3 &grab_delta, const SculptProjectVector *spvc, const Span< float3 > positions, const Span< float > factors, const MutableSpan< float3 > translations)
 
static BLI_NOINLINE void blender::ed::sculpt_paint::snake_hook_cc::calc_rake_rotation_influence (const StrokeCache &cache, const Span< float3 > positions, const Span< float > factors, const MutableSpan< float3 > translations)
 
static BLI_NOINLINE void blender::ed::sculpt_paint::snake_hook_cc::calc_kelvinet_translation (const StrokeCache &cache, const Span< float3 > positions, const Span< float > factors, const MutableSpan< float3 > translations)
 
static void blender::ed::sculpt_paint::snake_hook_cc::calc_faces (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, const SculptProjectVector *spvc, const float3 &grab_delta, const Span< float3 > vert_normals, const MeshAttributeData &attribute_data, bke::pbvh::MeshNode &node, LocalData &tls, const PositionDeformData &position_data)
 
static void blender::ed::sculpt_paint::snake_hook_cc::calc_grids (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, SculptProjectVector *spvc, const float3 &grab_delta, bke::pbvh::GridsNode &node, LocalData &tls)
 
static void blender::ed::sculpt_paint::snake_hook_cc::calc_bmesh (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const Brush &brush, SculptProjectVector *spvc, const float3 &grab_delta, bke::pbvh::BMeshNode &node, LocalData &tls)
 
void blender::ed::sculpt_paint::do_snake_hook_brush (const Depsgraph &depsgraph, const Sculpt &sd, Object &object, const IndexMask &node_mask)