13using Triangle = std::array<video::S3DVertex, 3>;
17using Quad = std::array<video::S3DVertex, 4>;
24[[nodiscard]]
bool checkMeshEqual(
const std::vector<video::S3DVertex> &vertices,
const std::vector<u16> &indices,
const std::vector<Triangle> &expected);
32[[nodiscard]]
bool checkMeshEqual(
const std::vector<video::S3DVertex> &vertices,
const std::vector<u16> &indices,
const std::vector<Quad> &expected);
bool checkMeshEqual(const std::vector< video::S3DVertex > &vertices, const std::vector< u16 > &indices, const std::vector< Triangle > &expected)
Compare two meshes for equality.
Definition mesh_compare.cpp:47
std::array< video::S3DVertex, 4 > Quad
Represents a quad as four vertices.
Definition mesh_compare.h:17
std::array< video::S3DVertex, 3 > Triangle
Represents a triangle as three vertices.
Definition mesh_compare.h:13