diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-22 09:19:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-22 10:18:37 +0100 |
commit | 4261ccbe8ad87342512d11a3a2216f8bd8526a7c (patch) | |
tree | 3a85c04e56491fde3f839d24c6eebb9332472758 /tools/source/generic/b3dtrans.cxx | |
parent | c838db83fd1cab2fc10a4389533f8da181bbdc9a (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'tools/source/generic/b3dtrans.cxx')
-rw-r--r-- | tools/source/generic/b3dtrans.cxx | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tools/source/generic/b3dtrans.cxx b/tools/source/generic/b3dtrans.cxx index 1f731e1fd387..7a086f5a6166 100644 --- a/tools/source/generic/b3dtrans.cxx +++ b/tools/source/generic/b3dtrans.cxx @@ -449,56 +449,6 @@ const basegfx::B3DVector& B3dTransformationSet::GetTranslate() /************************************************************************* |* -|* Hilfsmatrixberechnungsroutinen -|* -\************************************************************************/ - -void B3dTransformationSet::CalcMatObjectToDevice() -{ - // ObjectToDevice berechnen (Orientation * Projection * Object) - maObjectToDevice = maObjectTrans; - maObjectToDevice *= maOrientation; - maObjectToDevice *= GetProjection(); - - // auf gueltig setzen - mbObjectToDeviceValid = sal_True; -} - -void B3dTransformationSet::CalcMatInvTransObjectToEye() -{ - maInvTransObjectToEye = maObjectTrans; - maInvTransObjectToEye *= maOrientation; - maInvTransObjectToEye.invert(); - maInvTransObjectToEye.transpose(); - - // eventuelle Translationen rausschmeissen, da diese - // Matrix nur zur Transformation von Vektoren gedacht ist - maInvTransObjectToEye.set(3, 0, 0.0); - maInvTransObjectToEye.set(3, 1, 0.0); - maInvTransObjectToEye.set(3, 2, 0.0); - maInvTransObjectToEye.set(3, 3, 1.0); - - // auf gueltig setzen - mbInvTransObjectToEyeValid = sal_True; -} - -void B3dTransformationSet::CalcMatFromWorldToView() -{ - maMatFromWorldToView = maOrientation; - maMatFromWorldToView *= GetProjection(); - const basegfx::B3DVector& rScale(GetScale()); - maMatFromWorldToView.scale(rScale.getX(), rScale.getY(), rScale.getZ()); - const basegfx::B3DVector& rTranslate(GetTranslate()); - maMatFromWorldToView.translate(rTranslate.getX(), rTranslate.getY(), rTranslate.getZ()); - maInvMatFromWorldToView = maMatFromWorldToView; - maInvMatFromWorldToView.invert(); - - // gueltig setzen - mbWorldToViewValid = sal_True; -} - -/************************************************************************* -|* |* Direkter Zugriff auf verschiedene Transformationen |* \************************************************************************/ |