21#define MAX_CLIPPLANE_LEN 6
23#define SNAP_TO_EDGE_ELEMENTS \
24 (SCE_SNAP_TO_EDGE | SCE_SNAP_TO_EDGE_ENDPOINT | SCE_SNAP_TO_EDGE_MIDPOINT | \
25 SCE_SNAP_TO_EDGE_PERPENDICULAR)
157 bool skip_occlusion_plane =
false);
173 const bool is_in_front);
185 const float dir[3],
const float v0[3],
const float v1[3],
const float v2[3],
float no[3]);
190 const float (*clip_plane)[4],
191 const int clip_plane_len,
197 const float (*clip_plane)[4],
198 const int clip_plane_len,
218 bool is_object_active);
248 bool is_editmesh =
false);
261 float dist_px_sq_orig,
void(*)(void *userdata, int index, const BVHTreeRay *ray, BVHTreeRayHit *hit) BVHTree_RayCastCallback
void(*)(void *userdata, int index, const float co[3], BVHTreeNearest *nearest) BVHTree_NearestPointCallback
ATTR_WARN_UNUSED_RESULT const BMVert * v2
MatBase< float, 4, 4 > float4x4
VecBase< float, 4 > float4
VecBase< float, 2 > float2
VecBase< float, 3 > float3
static MatBase identity()
float ray_depth_max_in_front
virtual ~SnapCache()=default
struct blender::ed::transform::SnapObjectContext::@170374026073064374202114033260227063176045253050 runtime
struct blender::ed::transform::SnapObjectContext::@261131034374131144046074012251042111150012050144 grid
eSnapOcclusionTest occlusion_test_edit
float4 occlusion_plane_in_front
bool(* test_edge_fn)(BMEdge *, void *user_data)
bool(* test_face_fn)(BMFace *, void *user_data)
bool(* test_vert_fn)(BMVert *, void *user_data)
struct blender::ed::transform::SnapObjectContext::@057303224201065302154130247374246316157207360104 callbacks
bool has_occlusion_plane_in_front
Map< const ID *, std::unique_ptr< SnapCache > > editmesh_caches
struct blender::ed::transform::SnapObjectContext::@057303224201065302154130247374246316157207360104::@052144141244060360354325332176274005342203076127 edit_mesh
Vector< float4, MAX_CLIPPLANE_LEN > clip_planes
const RegionView3D * rv3d