Skip to content

Commit

Permalink
Fix edge_edge_parallel_distance_type
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Ferguson committed Jun 23, 2023
1 parent 42528df commit 07e66e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipc/distance/distance_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ EdgeEdgeDistanceType edge_edge_parallel_distance_type(
{
const Eigen::Vector3d ea = ea1 - ea0;
const double alpha = (eb0 - ea0).dot(ea) / ea.squaredNorm();
const double beta = (eb1 - eb0).dot(ea) / ea.squaredNorm();
const double beta = (eb1 - ea0).dot(ea) / ea.squaredNorm();

uint8_t eac; // 0: EA0, 1: EA1, 2: EA
uint8_t ebc; // 0: EB0, 1: EB1, 2: EB
Expand Down

0 comments on commit 07e66e3

Please sign in to comment.