diff options
Diffstat (limited to 'basegfx/source/matrix/b3dhommatrix.cxx')
-rw-r--r-- | basegfx/source/matrix/b3dhommatrix.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/basegfx/source/matrix/b3dhommatrix.cxx b/basegfx/source/matrix/b3dhommatrix.cxx index 6cfd054992ec..b55dd079b514 100644 --- a/basegfx/source/matrix/b3dhommatrix.cxx +++ b/basegfx/source/matrix/b3dhommatrix.cxx @@ -203,6 +203,11 @@ namespace basegfx } } + void B3DHomMatrix::rotate(const B3DTuple& rRotation) + { + rotate(rRotation.getX(), rRotation.getY(), rRotation.getZ()); + } + void B3DHomMatrix::translate(double fX, double fY, double fZ) { if(!fTools::equalZero(fX) || !fTools::equalZero(fY) || !fTools::equalZero(fZ)) @@ -217,6 +222,11 @@ namespace basegfx } } + void B3DHomMatrix::translate(const B3DTuple& rRotation) + { + translate(rRotation.getX(), rRotation.getY(), rRotation.getZ()); + } + void B3DHomMatrix::scale(double fX, double fY, double fZ) { const double fOne(1.0); @@ -233,6 +243,11 @@ namespace basegfx } } + void B3DHomMatrix::scale(const B3DTuple& rRotation) + { + scale(rRotation.getX(), rRotation.getY(), rRotation.getZ()); + } + void B3DHomMatrix::shearXY(double fSx, double fSy) { // #i76239# do not test against 1.0, but against 0.0. We are talking about a value not on the diagonal (!) |