mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: make format
This commit is contained in:
parent
0e0d1d4cba
commit
840ed03d92
2 changed files with 3 additions and 3 deletions
|
|
@ -364,7 +364,7 @@ static void generate_geometry(gesture::GestureData &gesture_data)
|
|||
get_origin_and_normal(gesture_data, shape_origin, shape_normal);
|
||||
plane_from_point_normal_v3(shape_plane, shape_origin, shape_normal);
|
||||
|
||||
const float (*ob_imat)[4] = vc.obact->world_to_object().ptr();
|
||||
const float(*ob_imat)[4] = vc.obact->world_to_object().ptr();
|
||||
|
||||
/* Write vertices coordinates OperationType::Difference for the front face. */
|
||||
MutableSpan<float3> positions = trim_operation->mesh->vert_positions_for_write();
|
||||
|
|
@ -450,7 +450,7 @@ static void generate_geometry(gesture::GestureData &gesture_data)
|
|||
/* Get the triangulation for the front/back poly. */
|
||||
const int face_tris_num = bke::mesh::face_triangles_num(screen_points.size());
|
||||
Array<uint3> tris(face_tris_num);
|
||||
BLI_polyfill_calc(reinterpret_cast<const float (*)[2]>(screen_points.data()),
|
||||
BLI_polyfill_calc(reinterpret_cast<const float(*)[2]>(screen_points.data()),
|
||||
screen_points.size(),
|
||||
0,
|
||||
reinterpret_cast<uint(*)[3]>(tris.data()));
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 9323581121dae4867563c9529a0375f390bfbffc
|
||||
Subproject commit 5d97e35c3b789b85d0601f77738d27bc9335ddb8
|
||||
Loading…
Add table
Add a link
Reference in a new issue