1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0032567: Coding Rules - rename Graphic3d_TypeOfShadingModel values to include full enumeration name

This commit is contained in:
kgv
2021-09-13 22:19:54 +03:00
committed by smoskvin
parent e2421df543
commit 13b36bb14f
37 changed files with 159 additions and 153 deletions

View File

@@ -307,7 +307,7 @@ bool WasmOcctView::initViewer()
Handle(V3d_Viewer) aViewer = new V3d_Viewer (aDriver);
aViewer->SetComputedMode (false);
aViewer->SetDefaultShadingModel (Graphic3d_TOSM_FRAGMENT);
aViewer->SetDefaultShadingModel (Graphic3d_TypeOfShadingModel_Phong);
aViewer->SetDefaultLights();
aViewer->SetLightOn();
for (V3d_ListOfLight::Iterator aLightIter (aViewer->ActiveLights()); aLightIter.More(); aLightIter.Next())