Cleanup: make format

This commit is contained in:
Sean Kim
2025-04-23 13:22:03 -07:00
parent 0e0d1d4cba
commit 840ed03d92
2 changed files with 3 additions and 3 deletions

View File

@@ -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()));