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
struct blender::ed::transform::SnapObjectContext::@023363036215051051114130033143317235151004224004 runtime
struct blender::ed::transform::SnapObjectContext::@067317270346010157372337003264054373135063232165 grid
eSnapOcclusionTest occlusion_test_edit
float ray_depth_max_in_front
float4 occlusion_plane_in_front
bool(* test_edge_fn)(BMEdge *, void *user_data)
struct blender::ed::transform::SnapObjectContext::@204213351251212321145136124213325363323205155046::@105171171140051243320167151114070072015336343132 edit_mesh
bool(* test_face_fn)(BMFace *, void *user_data)
bool(* test_vert_fn)(BMVert *, void *user_data)
bool has_occlusion_plane_in_front
Map< const ID *, std::unique_ptr< SnapCache > > editmesh_caches
Vector< float4, MAX_CLIPPLANE_LEN > clip_planes
struct blender::ed::transform::SnapObjectContext::@204213351251212321145136124213325363323205155046 callbacks
const RegionView3D * rv3d