mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0031866: Documentation - add description to Graphic3d_NameOfMaterial enumeration values
Enumeration values have been renamed to use complete prefix Graphic3d_NOM_ -> Graphic3d_NameOfMaterial_ and to match string names (with old values preserved as aliases).
This commit is contained in:
@@ -402,7 +402,7 @@ public:
|
||||
//! Returns settings for shading aspects.
|
||||
//! These settings can be edited. The default values are:
|
||||
//! - Color: Quantity_NOC_YELLOW
|
||||
//! - Material: Graphic3d_NOM_BRASS
|
||||
//! - Material: Graphic3d_NameOfMaterial_Brass
|
||||
//! Shading aspect is obtained through decomposition of
|
||||
//! 3d faces into triangles, each side of each triangle
|
||||
//! being a chord of the corresponding curved edge in the face.
|
||||
|
@@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Prs3d_ShadingAspect, Prs3d_BasicAspect)
|
||||
//=======================================================================
|
||||
Prs3d_ShadingAspect::Prs3d_ShadingAspect()
|
||||
{
|
||||
const Graphic3d_MaterialAspect aMat (Graphic3d_NOM_BRASS);
|
||||
const Graphic3d_MaterialAspect aMat (Graphic3d_NameOfMaterial_Brass);
|
||||
const Quantity_Color aColor = aMat.AmbientColor();
|
||||
myAspect = new Graphic3d_AspectFillArea3d (Aspect_IS_SOLID,
|
||||
aColor,
|
||||
|
Reference in New Issue
Block a user