Revert agnostic based approach and base on wrap mode instead
Dean Herbert 4 years ago b1e14fe8 c125858e