added template arg to Vertex struct

This commit is contained in:
2025-11-29 16:31:24 +03:00
parent ba267cbcb8
commit 99ebdeb188
3 changed files with 11 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ using EPA = omath::collision::Epa<Collider>;
TEST(UnitTestEpa, TestCollisionTrue)
{
// Unit cube [-1,1]^3
std::vector<omath::primitives::Vertex> vbo = {
std::vector<omath::primitives::Vertex<>> vbo = {
{ {-1.f, -1.f, -1.f}, {}, {} },
{ {-1.f, -1.f, 1.f}, {}, {} },
{ {-1.f, 1.f, -1.f}, {}, {} },
@@ -88,7 +88,7 @@ TEST(UnitTestEpa, TestCollisionTrue)
}
TEST(UnitTestEpa, TestCollisionTrue2)
{
std::vector<omath::primitives::Vertex> vbo = {
std::vector<omath::primitives::Vertex<>> vbo = {
{ { -1.f, -1.f, -1.f }, {}, {} },
{ { -1.f, -1.f, 1.f }, {}, {} },
{ { -1.f, 1.f, -1.f }, {}, {} },