Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_transform_snap_object_context.h
| Show All 38 Lines | |||||
| /* transform_snap_object.c */ | /* transform_snap_object.c */ | ||||
| /* ED_transform_snap_object_*** API */ | /* ED_transform_snap_object_*** API */ | ||||
| typedef enum eSnapSelect { | typedef enum eSnapSelect { | ||||
| SNAP_ALL = 0, | SNAP_ALL = 0, | ||||
| SNAP_NOT_SELECTED = 1, | SNAP_NOT_SELECTED = 1, | ||||
| SNAP_NOT_ACTIVE = 2, | SNAP_NOT_ACTIVE = 2, | ||||
| SNAP_SELECTED_ONLY = 3, | |||||
| } eSnapSelect; | } eSnapSelect; | ||||
| /** 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 | |||||