]> OCCT Git - occt.git/commitdiff
Documentation - Graphic3d_Aspects::PolygonOffsets update comments (#519)
authorKirill Gavrilov <kirill@sview.ru>
Wed, 16 Jul 2025 10:43:52 +0000 (11:43 +0100)
committerdpasukhi <dpasukhi@opencascade.com>
Wed, 16 Jul 2025 10:44:49 +0000 (11:44 +0100)
Updated the documented default "units" value in Graphic3d_Aspects.hxx from 0 to 1.

src/Visualization/TKService/Graphic3d/Graphic3d_Aspects.hxx

index c2fbee10bf94880bb6aed3f7045c2e43dd99f073..0093853e42e03e70b5b8bcd73e6bcf18587dc1f6 100644 (file)
@@ -224,7 +224,7 @@ public:
   //! m - maximum depth slope for the polygon currently being displayed,
   //! r - minimum window coordinates depth resolution (implementation-specific)
   //!
-  //! Default settings for OCC 3D viewer: mode = Aspect_POM_Fill, factor = 1., units = 0.
+  //! Default settings for OCC 3D viewer: mode = Aspect_POM_Fill, factor = 1., units = 1.
   //!
   //! Negative offset values move polygons closer to the viewport,
   //! while positive values shift polygons away.