diff options
Diffstat (limited to 'basegfx/source/point/b3dpoint.cxx')
-rw-r--r-- | basegfx/source/point/b3dpoint.cxx | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/basegfx/source/point/b3dpoint.cxx b/basegfx/source/point/b3dpoint.cxx index 6d6471ffa07d..9ece7171af62 100644 --- a/basegfx/source/point/b3dpoint.cxx +++ b/basegfx/source/point/b3dpoint.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b3dpoint.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: aw $ $Date: 2003-11-26 14:40:10 $ + * last change: $Author: aw $ $Date: 2003-11-28 11:18:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -69,29 +69,26 @@ namespace basegfx { - namespace point + B3DPoint& B3DPoint::operator*=( const ::basegfx::B3DHomMatrix& rMat ) { - B3DPoint& B3DPoint::operator*=( const ::basegfx::matrix::B3DHomMatrix& rMat ) - { - const double fTempX(rMat.get(0,0)*mfX + - rMat.get(0,1)*mfY + - rMat.get(0,2)*mfZ + - rMat.get(0,3)); - const double fTempY(rMat.get(1,0)*mfX + - rMat.get(1,1)*mfY + - rMat.get(1,2)*mfZ + - rMat.get(1,3)); - const double fTempZ(rMat.get(2,0)*mfX + - rMat.get(2,1)*mfY + - rMat.get(2,2)*mfZ + - rMat.get(2,3)); - mfX = fTempX; - mfY = fTempY; - mfZ = fTempZ; + const double fTempX(rMat.get(0,0)*mfX + + rMat.get(0,1)*mfY + + rMat.get(0,2)*mfZ + + rMat.get(0,3)); + const double fTempY(rMat.get(1,0)*mfX + + rMat.get(1,1)*mfY + + rMat.get(1,2)*mfZ + + rMat.get(1,3)); + const double fTempZ(rMat.get(2,0)*mfX + + rMat.get(2,1)*mfY + + rMat.get(2,2)*mfZ + + rMat.get(2,3)); + mfX = fTempX; + mfY = fTempY; + mfZ = fTempZ; - return *this; - } - } // end of namespace point + return *this; + } } // end of namespace basegfx // eof |