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()
virtual ~SnapCache()=default
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::@021117354272321165151334051115020072066147077007::@031263367357163056374266221011121223205101367356 edit_mesh
float ray_depth_max_in_front
float4 occlusion_plane_in_front
const RegionView3D * rv3d
Vector< float4, MAX_CLIPPLANE_LEN > clip_planes
eSnapOcclusionTest occlusion_test_edit
bool has_occlusion_plane_in_front
struct blender::ed::transform::SnapObjectContext::@361357062360121250027032367106133013375372323012 grid
struct blender::ed::transform::SnapObjectContext::@021117354272321165151334051115020072066147077007 callbacks
struct blender::ed::transform::SnapObjectContext::@376125354063353254153127042100151101165053113221 runtime
Map< const ID *, std::unique_ptr< SnapCache > > editmesh_caches