diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-09 12:25:15 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-09 12:25:15 +0000 |
commit | fc84d2203be8df8bca6f8f215e63b88172281fbe (patch) | |
tree | fe767fc4355c105cdfc9db7e9545dd287c7f437c /goodies/inc | |
parent | ddc7a5bc9879ae1dc78974b33c61c5a44ec61f5c (diff) |
INTEGRATION: CWS aw048 (1.2.2); FILE MERGED
2007/04/18 10:55:59 aw 1.2.2.1: adaption to moved headers
Diffstat (limited to 'goodies/inc')
-rw-r--r-- | goodies/inc/goodies/base3d.hxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/goodies/inc/goodies/base3d.hxx b/goodies/inc/goodies/base3d.hxx index 5e6ad71fa9ca..a08f52580f99 100644 --- a/goodies/inc/goodies/base3d.hxx +++ b/goodies/inc/goodies/base3d.hxx @@ -4,9 +4,9 @@ * * $RCSfile: base3d.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: vg $ $Date: 2007-04-11 20:32:50 $ + * last change: $Author: kz $ $Date: 2007-05-09 13:25:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -281,6 +281,9 @@ private: // Darstellungsqualitaet (0..255) UINT8 nDisplayQuality; + // #i71618# + double mfPolygonOffset; + // EdgeFlag unsigned bEdgeFlag : 1; @@ -413,6 +416,13 @@ public: Base3DPolygonOffset eNew=Base3DPolygonOffsetLine, BOOL bNew=FALSE); BOOL GetPolygonOffset(Base3DPolygonOffset eNew=Base3DPolygonOffsetLine) const; + // #i71618# + // support for value for PolygonOffset. Value is relative to Z-Buffer depth. To keep + // it implementation-independent, it is a value in the range [0.0 .. 1.0]. Default + // is now 0,005 which expands to ca. 80.000 with 14bit Z-Buffer + void setPolygonOffset(double fNew); + double getPolygonOffset() const; + // RenderMode virtual void SetRenderMode(Base3DRenderMode eNew, Base3DMaterialMode=Base3DMaterialFrontAndBack); |