Skip to content

Commit

Permalink
docs(physics): remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenatlas committed Oct 7, 2024
1 parent ca0153d commit 0b6072d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions engine/src/physics/solver/penetration_constraint/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void getTangents(const glm::vec3& velocity1, const glm::vec3& velocity2, const g
glm::vec3& tangent2)
{
// Use linear relative velocity for determining tangents.
/// TODO: test this with the normal way
glm::vec3 linearVr = velocity2 - velocity1;

tangent1 = linearVr - glm::dot(linearVr, n) * n;
Expand Down Expand Up @@ -453,6 +452,3 @@ void cubos::engine::penetrationConstraintPlugin(Cubos& cubos)
}
});
}

// cleanup code
// change name in creation of manifold

0 comments on commit 0b6072d

Please sign in to comment.