Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/sculpt_intern.h
| Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | |||||
| /* Utils. */ | /* Utils. */ | ||||
| void SCULPT_calc_brush_plane(struct Sculpt *sd, | void SCULPT_calc_brush_plane(struct Sculpt *sd, | ||||
| struct Object *ob, | struct Object *ob, | ||||
| struct PBVHNode **nodes, | struct PBVHNode **nodes, | ||||
| int totnode, | int totnode, | ||||
| float r_area_no[3], | float r_area_no[3], | ||||
| float r_area_co[3]); | float r_area_co[3]); | ||||
| void SCULPT_calc_sculpt_plane( | |||||
| Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode, float r_area_no[3], float r_area_co[3]); | |||||
| void SCULPT_calc_area_normal( | void SCULPT_calc_area_normal( | ||||
| Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode, float r_area_no[3]); | Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode, float r_area_no[3]); | ||||
| int SCULPT_nearest_vertex_get(struct Sculpt *sd, | int SCULPT_nearest_vertex_get(struct Sculpt *sd, | ||||
| struct Object *ob, | struct Object *ob, | ||||
| const float co[3], | const float co[3], | ||||
| float max_distance, | float max_distance, | ||||
| bool use_original); | bool use_original); | ||||
| int SCULPT_plane_point_side(const float co[3], const float plane[4]); | int SCULPT_plane_point_side(const float co[3], const float plane[4]); | ||||
| int SCULPT_plane_trim(const struct StrokeCache *cache, | int SCULPT_plane_trim(const struct StrokeCache *cache, | ||||
| const struct Brush *brush, | const struct Brush *brush, | ||||
| const float val[3]); | const float val[3]); | ||||
| void SCULPT_clip(Sculpt *sd, SculptSession *ss, float co[3], const float val[3]); | void SCULPT_clip(Sculpt *sd, SculptSession *ss, float co[3], const float val[3]); | ||||
| void SCULPT_stroke_local_space_matrix_init(float r_mat[4][4], | |||||
| const float location[3], | |||||
| const float normal[3], | |||||
| const float delta[3]); | |||||
| float SCULPT_brush_plane_offset_get(Sculpt *sd, SculptSession *ss); | float SCULPT_brush_plane_offset_get(Sculpt *sd, SculptSession *ss); | ||||
| ePaintSymmetryAreas SCULPT_get_vertex_symm_area(const float co[3]); | ePaintSymmetryAreas SCULPT_get_vertex_symm_area(const float co[3]); | ||||
| bool SCULPT_check_vertex_pivot_symmetry(const float vco[3], const float pco[3], const char symm); | bool SCULPT_check_vertex_pivot_symmetry(const float vco[3], const float pco[3], const char symm); | ||||
| bool SCULPT_is_vertex_inside_brush_radius_symm(const float vertex[3], | bool SCULPT_is_vertex_inside_brush_radius_symm(const float vertex[3], | ||||
| const float br_co[3], | const float br_co[3], | ||||
| float radius, | float radius, | ||||
| ▲ Show 20 Lines • Show All 688 Lines • Show Last 20 Lines | |||||