Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_transform_snap_object_context.h
| Show All 40 Lines | |||||
| typedef enum { | typedef enum { | ||||
| SNAP_ALL = 0, | SNAP_ALL = 0, | ||||
| SNAP_NOT_SELECTED = 1, | SNAP_NOT_SELECTED = 1, | ||||
| SNAP_NOT_ACTIVE = 2, | SNAP_NOT_ACTIVE = 2, | ||||
| SNAP_ONLY_ACTIVE = 3, | SNAP_ONLY_ACTIVE = 3, | ||||
| } eSnapSelect; | } eSnapSelect; | ||||
| /** Indicates which type of geometry in edit-mode to snap. */ | |||||
| typedef enum { | typedef enum { | ||||
| /* Geometry with all modifiers enabled. (Equivalent to #BMEditMesh::mesh_eval_final). */ | |||||
| SNAP_GEOM_FINAL = 0, | SNAP_GEOM_FINAL = 0, | ||||
| /* Geometry with modifiers enabled for the cage. (Equivalent to #BMEditMesh::mesh_eval_cage). */ | |||||
| SNAP_GEOM_CAGE = 1, | SNAP_GEOM_CAGE = 1, | ||||
| SNAP_GEOM_EDIT = 2, /* Bmesh for mesh-type. */ | /* Original geometry without modifiers. (Equivalent to #BMesh with the original coordinates). */ | ||||
| SNAP_GEOM_EDIT = 2, | |||||
| /* Original geometry without modifiers. (BMesh with #EditMeshData::vertexCos). */ | |||||
| SNAP_GEOM_EDIT_DEFORMED = 3, | |||||
| } eSnapEditType; | } eSnapEditType; | ||||
| /** used for storing multiple hits */ | /** used for storing multiple hits */ | ||||
| struct SnapObjectHitDepth { | struct SnapObjectHitDepth { | ||||
| struct SnapObjectHitDepth *next, *prev; | struct SnapObjectHitDepth *next, *prev; | ||||
| float depth; | float depth; | ||||
| float co[3]; | float co[3]; | ||||
| ▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines | |||||