All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent eafd18dac0
commit 25c3ba7338
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -90,7 +90,10 @@ SoGroup* ViewProviderTextureExtension::getTextureGroup3D() const
return pcTextureGroup3D;
}
void ViewProviderTextureExtension::setCoinAppearance(SoMaterial* pcShapeMaterial, const App::Material& source)
void ViewProviderTextureExtension::setCoinAppearance(
SoMaterial* pcShapeMaterial,
const App::Material& source
)
{
#if 0
if (!source.image.empty()) {
@@ -111,18 +114,14 @@ void ViewProviderTextureExtension::setCoinAppearance(SoMaterial* pcShapeMaterial
activateMaterial();
// Always set the material for items such as lines that don't support textures
pcShapeMaterial->ambientColor.setValue(source.ambientColor.r,
source.ambientColor.g,
source.ambientColor.b);
pcShapeMaterial->diffuseColor.setValue(source.diffuseColor.r,
source.diffuseColor.g,
source.diffuseColor.b);
pcShapeMaterial->specularColor.setValue(source.specularColor.r,
source.specularColor.g,
source.specularColor.b);
pcShapeMaterial->emissiveColor.setValue(source.emissiveColor.r,
source.emissiveColor.g,
source.emissiveColor.b);
pcShapeMaterial->ambientColor
.setValue(source.ambientColor.r, source.ambientColor.g, source.ambientColor.b);
pcShapeMaterial->diffuseColor
.setValue(source.diffuseColor.r, source.diffuseColor.g, source.diffuseColor.b);
pcShapeMaterial->specularColor
.setValue(source.specularColor.r, source.specularColor.g, source.specularColor.b);
pcShapeMaterial->emissiveColor
.setValue(source.emissiveColor.r, source.emissiveColor.g, source.emissiveColor.b);
pcShapeMaterial->shininess.setValue(source.shininess);
pcShapeMaterial->transparency.setValue(source.transparency);
}