private void setHighlightNodeTransformations(MeshComponent m) {
   if (m != null) {
     m.removeAllAnimations();
     m.addAnimation(new AnimationColorMorph(BLENDING_TIME, newHighlightColor()));
     m.addAnimation(new AnimationRotate(50, new Vec(0, 0, 1)));
   }
 }
 private void setPassedTransformationsOn(MeshComponent m) {
   if (m != null) {
     m.removeAllAnimations();
     m.addAnimation(new AnimationMove(MOVEMENT_TIME, new Vec(0, 0, -2)));
     m.addAnimation(new AnimationColorMorph(BLENDING_TIME, newAlreadyPassedColor()));
   }
 }