mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028263: Coding Rules - clean up definition of the class Graphic3d_MaterialAspect
Fixed uninitialized fields in several classes. Body of trivial methods have been moved to class definition (header file). Ensure that non-primitive types are returned by reference, when possible. Removed unused class Prs3d_PlaneSet.
This commit is contained in:
@@ -2725,8 +2725,8 @@ static int VDrawSphere (Draw_Interpretor& /*di*/, Standard_Integer argc, const c
|
||||
|
||||
// Setting material properties, very important for desirable visual result!
|
||||
Graphic3d_MaterialAspect aMat (Graphic3d_NOM_PLASTIC);
|
||||
aMat.SetAmbient (0.2);
|
||||
aMat.SetSpecular (0.5);
|
||||
aMat.SetAmbient (0.2f);
|
||||
aMat.SetSpecular (0.5f);
|
||||
Handle(Graphic3d_AspectFillArea3d) anAspect
|
||||
= new Graphic3d_AspectFillArea3d (Aspect_IS_SOLID,
|
||||
Quantity_NOC_RED,
|
||||
|
Reference in New Issue
Block a user