pub trait Distortion { // Required method fn calculate(&self, x: &mut i32, y: &mut i32); }
Trait for coordinate distortion applied after interpolation.
Port of the C++ Distortion template concept.
Distortion