Anisotropy of the magnetic-field-induced phase transition in superconducting UPt3.