VOXELFORMAT: fixed tests

master
Martin Gerhardy 2022-05-21 17:59:00 +02:00
parent 15879844d7
commit a20e9c168b
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ TEST_F(ConvertTest, testCubToQb) {
TEST_F(ConvertTest, testKVXToQb) {
KVXFormat src;
QBFormat target;
testLoadSaveAndLoad("test.kvx", src, "test.qb", target, true, true, 0.0028f);
testLoadSaveAndLoad("test.kvx", src, "test.qb", target, true, true, 0.012f);
}
TEST_F(ConvertTest, testKV6ToQb) {

View File

@ -59,7 +59,7 @@ TEST_F(VoxFormatTest, testLoadGlasses) {
for (int i = 0; i < lengthof(volumes); ++i) {
const voxel::RawVolume &v1 = *volumes[i].get();
const voxel::RawVolume &v2 = *sceneGraph[i]->volume();
volumeComparator(v1, voxel::getPalette(), v2, sceneGraph[i]->palette(), true, true, 0.004f);
volumeComparator(v1, voxel::getPalette(), v2, sceneGraph[i]->palette(), true, true, 0.011f);
}
}