float depth = controller.getDepth();
float height = controller.getHeight();
// Compute size before old model rotation
float [][] oldModelRotation = (float [][])ev.getOldValue();
Matrix3f oldModelRotationMatrix = new Matrix3f(oldModelRotation [0][0], oldModelRotation [0][1], oldModelRotation [0][2],
oldModelRotation [1][0], oldModelRotation [1][1], oldModelRotation [1][2],
oldModelRotation [2][0], oldModelRotation [2][1], oldModelRotation [2][2]);
oldModelRotationMatrix.invert();
float oldWidth = oldModelRotationMatrix.m00 * width
+ oldModelRotationMatrix.m01 * height
+ oldModelRotationMatrix.m02 * depth;
float oldHeight = oldModelRotationMatrix.m10 * width
+ oldModelRotationMatrix.m11 * height