mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
update
This commit is contained in:
@@ -14,14 +14,14 @@ class UnitTestColider_FindFurthestVertex_Test;
|
|||||||
namespace omath::collision
|
namespace omath::collision
|
||||||
{
|
{
|
||||||
template<class MeshType>
|
template<class MeshType>
|
||||||
class MeshCollider final : public ColliderInterface<omath::Vector3<float>>
|
class MeshCollider final : public ColliderInterface<typename MeshType::VertexType::VectorType>
|
||||||
{
|
{
|
||||||
#ifdef OMATH_BUILD_TESTS
|
#ifdef OMATH_BUILD_TESTS
|
||||||
friend UnitTestColider_FindFurthestVertex_Test;
|
friend UnitTestColider_FindFurthestVertex_Test;
|
||||||
#endif
|
#endif
|
||||||
public:
|
public:
|
||||||
using VertexType = MeshType::VertexType;
|
using VertexType = MeshType::VertexType;
|
||||||
using VectorType = VertexType::VectorType;
|
using VectorType = MeshType::VertexType::VectorType;
|
||||||
explicit MeshCollider(MeshType mesh): m_mesh(std::move(mesh))
|
explicit MeshCollider(MeshType mesh): m_mesh(std::move(mesh))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user