Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show First 20 Lines • Show All 508 Lines • ▼ Show 20 Lines | typedef struct SculptSession { | ||||
| float cursor_location[3]; | float cursor_location[3]; | ||||
| float cursor_normal[3]; | float cursor_normal[3]; | ||||
| float cursor_sampled_normal[3]; | float cursor_sampled_normal[3]; | ||||
| float cursor_view_normal[3]; | float cursor_view_normal[3]; | ||||
| /* For Sculpt trimming gesture tools, initial raycast data from the position of the mouse when | /* For Sculpt trimming gesture tools, initial raycast data from the position of the mouse when | ||||
| * the gesture starts (intersection with the surface and if they ray hit the surface or not). */ | * the gesture starts (intersection with the surface and if they ray hit the surface or not). */ | ||||
| float gesture_initial_location[3]; | float gesture_initial_location[3]; | ||||
| float gesture_initial_normal[3]; | |||||
| bool gesture_initial_hit; | bool gesture_initial_hit; | ||||
| /* TODO(jbakker): Replace rv3d adn v3d with ViewContext */ | /* TODO(jbakker): Replace rv3d adn v3d with ViewContext */ | ||||
| struct RegionView3D *rv3d; | struct RegionView3D *rv3d; | ||||
| struct View3D *v3d; | struct View3D *v3d; | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| /* Dynamic mesh preview */ | /* Dynamic mesh preview */ | ||||
| ▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines | |||||