Ejemplo n.º 1
0
 @Override
 public javax.vecmath.Matrix4d getInverseAbsoluteTransformation() {
   synchronized (m_absoluteTransformationLock) {
     if (m_inverseAbsoluteTransformation == null) {
       m_inverseAbsoluteTransformation = getAbsoluteTransformation();
       try {
         m_inverseAbsoluteTransformation.invert();
       } catch (javax.vecmath.SingularMatrixException sme) {
         System.err.println("cannot invert: " + m_inverseAbsoluteTransformation);
         throw sme;
       }
     }
     return new javax.vecmath.Matrix4d(m_inverseAbsoluteTransformation);
   }
 }
Ejemplo n.º 2
0
 private void calcReverseTransformation() {
   reverseTransformationMatrix.invert(transformationMatrix);
 }