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