App: Change default constructor of Material class to use DEFAULT instead of STEEL

This commit is contained in:
wmayer
2024-04-26 15:06:30 +02:00
parent e591b95228
commit 1365a939e9

View File

@@ -39,16 +39,15 @@ using namespace App;
Material::Material()
: shininess {0.9000F}
, transparency {}
, _matType {USER_DEFINED}
, _matType {}
{
setType(STEEL);
setType(USER_DEFINED);
setType(DEFAULT);
}
Material::Material(const char* MatName)
: shininess {0.9000F}
, transparency {}
, _matType {USER_DEFINED}
, _matType {}
{
set(MatName);
}
@@ -56,7 +55,7 @@ Material::Material(const char* MatName)
Material::Material(MaterialType MatType)
: shininess {0.9000F}
, transparency {}
, _matType {USER_DEFINED}
, _matType {}
{
setType(MatType);
}