diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-09 19:49:50 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-09 21:29:45 +0100 |
commit | eb24bd1241a03ab488853d8f3030de1cd4f11148 (patch) | |
tree | 2449ebf28d897829dcf40e6c37825461b8ded0f1 /drawinglayer/source/processor3d | |
parent | 7cd3e34da1af2060425e2449cfddec86034e9e2b (diff) |
Remove dead code: This stuff is always false
Diffstat (limited to 'drawinglayer/source/processor3d')
-rw-r--r-- | drawinglayer/source/processor3d/zbufferprocessor3d.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx index fe48b14e5530..b89c8c9dd868 100644 --- a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx +++ b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx @@ -604,15 +604,6 @@ namespace drawinglayer aTransform.identity(); aTransform.scale(fScaleUp, fScaleUp, 1.0); - if(false) - { - // when really want to go to single pixel lines, move to center. - // Without this translation, all hor/ver hairlines will be centered exactly - // between two pixel lines (which looks best) - const double fTranslateToCenter(mnAntiAlialize * 0.5); - aTransform.translate(fTranslateToCenter, fTranslateToCenter, 0.0); - } - aSnappedHairline.transform(aTransform); mpZBufferRasterConverter3D->rasterconvertB3DPolygon(aSnappedHairline, 0, mpBZPixelRaster->getHeight(), mnAntiAlialize); |