@Override public Transform clone() { try { Transform tq = (Transform) super.clone(); tq.rot = rot.clone(); tq.scale = scale.clone(); tq.translation = translation.clone(); return tq; } catch (CloneNotSupportedException e) { throw new AssertionError(); } }
@Override public Plane clone() { try { Plane p = (Plane) super.clone(); p.normal = normal.clone(); return p; } catch (CloneNotSupportedException e) { throw new AssertionError(); } }