mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0030716: Visualization - Set polygon offset units property to 1.0
The default value of the Units property of the Graphic3d_PolygonOffset class is changed to 1.0f (instead of 0.0f used previously).
This commit is contained in:
parent
4811214cc0
commit
8fd45ae74f
@ -24,7 +24,7 @@ struct Graphic3d_PolygonOffset
|
||||
Standard_ShortReal Units;
|
||||
|
||||
//! Empty constructor.
|
||||
Graphic3d_PolygonOffset() : Mode(Aspect_POM_Fill), Factor (1.0f), Units (0.0f) {}
|
||||
Graphic3d_PolygonOffset() : Mode(Aspect_POM_Fill), Factor (1.0f), Units (1.0f) {}
|
||||
|
||||
//! Equality comparison.
|
||||
bool operator== (const Graphic3d_PolygonOffset& theOther) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user