Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheorey committed Aug 19, 2024
1 parent ba2a5b1 commit a504396
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/open3d/geometry/TriangleMeshSimplification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ std::shared_ptr<TriangleMesh> TriangleMesh::SimplifyQuadricDecimation(
const auto& vert1 = mesh->vertices_[vidx1];
const auto& vert2 = mesh->vertices_[vidx2];
Eigen::Vector3d vert2p = (vert2 - vert0).cross(vert2 - vert1);
Eigen::Vector4d plane = ComputeTrianglePlane(vert0, vert1, vert0+vert2p);
Eigen::Vector4d plane =
ComputeTrianglePlane(vert0, vert1, vert0 + vert2p);
Quadric quad(plane, area * boundary_weight);
Qs[vidx0] += quad;
Qs[vidx1] += quad;
Expand Down

0 comments on commit a504396

Please sign in to comment.