Accidentally duplicated the function d3d_set_perspective()