Skip to content

Commit

Permalink
Update CollisionHandler.h
Browse files Browse the repository at this point in the history
Hopefully fixes some windows warnings.
  • Loading branch information
razterizer authored Dec 17, 2024
1 parent 62271b9 commit c097ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dynamics/CollisionHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ namespace dynamics
//std::cout << "Collision!!!" << std::endl;
cdata.node_A = prox_pair.first;
cdata.node_B = prox_pair.second;
cdata.local_pos_A.emplace_back(r_rel_A, c_rel_A);
cdata.local_pos_B.emplace_back(r_rel_B, c_rel_B);
cdata.local_pos_A.emplace_back(static_cast<float>(r_rel_A), static_cast<float>(c_rel_A));
cdata.local_pos_B.emplace_back(static_cast<float>(r_rel_B), static_cast<float>(c_rel_B));
}
}
}
Expand Down

0 comments on commit c097ab5

Please sign in to comment.