mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-28 14:26:06 +02:00
Update vertex test for coordinate system
This is also the first working version of the mesh. I successfully loaded it in Minetest.
This commit is contained in:
@ -29,8 +29,8 @@ TEST_CASE("minimal triangle has correct vertices") {
|
||||
reinterpret_cast<irr::video::S3DVertex*>(
|
||||
meshbuf->getVertices()) };
|
||||
CHECK(vertices[0].Pos == irr::core::vector3df {0.0f, 0.0f, 0.0f});
|
||||
CHECK(vertices[1].Pos == irr::core::vector3df {1.0f, 0.0f, 0.0f});
|
||||
CHECK(vertices[2].Pos == irr::core::vector3df {1.0f, 1.0f, 0.0f});
|
||||
CHECK(vertices[1].Pos == irr::core::vector3df {0.0f, 1.0f, 0.0f});
|
||||
CHECK(vertices[2].Pos == irr::core::vector3df {-1.0f, 0.0f, 0.0f});
|
||||
|
||||
device->drop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user