mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
Refactor: Simplify GJK simplex handling
Removes the separate `Simplex` class and integrates its functionality directly into the `GjkAlgorithm`. This simplifies the code and reduces unnecessary overhead. Updates tests to align with refactored implementation.
This commit is contained in:
@@ -12,6 +12,7 @@ namespace omath::collision
|
||||
class MeshCollider
|
||||
{
|
||||
public:
|
||||
using VertexType = Vector3<float>;
|
||||
MeshCollider(const std::vector<Vector3<float>>& vertexes, const Vector3<float> origin)
|
||||
: m_vertexes(vertexes), m_origin(origin)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user