Direct observation of the influence of the As-Fe-As angle on the Tc of superconducting SmFeAsO
1−xF
xPressure-dependent resistivity and synchrotron X-ray diffraction on SmFeAsO$_{0.81}$F$_{0.19}$ up to ~20 GPa show that the superconducting transition temperature ($T_c$) is maximized when the FeAs$_4$ tetrahedron is regular. The correlation between $T_c$ and crystallographic parameters in the same sample, together with band-structure calculations, indicates that the regular tetrahedron optimizes carrier transfer to the FeAs planes.