File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ TEST_F(AssimpLoader, LoadGlTF2BoxTransmission)
684
684
const common::MaterialPtr mat = mesh->MaterialByIndex (0u );
685
685
ASSERT_TRUE (mat.get ());
686
686
// transmission currently modeled as transparency
687
- EXPECT_FLOAT_EQ (0.1 , mat->Transparency ());
687
+ EXPECT_FLOAT_EQ (0 .1f , mat->Transparency ());
688
688
delete mesh;
689
689
#endif
690
690
}
@@ -790,8 +790,8 @@ TEST_F(AssimpLoader, LoadGlbPbrAsset)
790
790
EXPECT_NE (pbr->MetalnessMapData (), nullptr );
791
791
EXPECT_NE (pbr->RoughnessMapData (), nullptr );
792
792
// Check pixel values to test metallicroughness texture splitting
793
- EXPECT_FLOAT_EQ (pbr->MetalnessMapData ()->Pixel (256 , 256 ).R (), 0.0 );
794
- EXPECT_FLOAT_EQ (pbr->RoughnessMapData ()->Pixel (256 , 256 ).R (), 124.0 / 255.0 );
793
+ EXPECT_FLOAT_EQ (pbr->MetalnessMapData ()->Pixel (256 , 256 ).R (), 0 .0f );
794
+ EXPECT_FLOAT_EQ (pbr->RoughnessMapData ()->Pixel (256 , 256 ).R (), 124 .0f / 255 .0f );
795
795
796
796
// Bug in assimp 5.0.x that doesn't parse coordinate sets properly
797
797
// \todo(iche033) Lightmaps are disabled for glb meshes
You can’t perform that action at this time.
0 commit comments