The effects of a resisting medium on protoplanetary orbits