Type Definition P2
valora
type P2 = Point;
A two dimensional point.
impl Translate for P2
fn translate(self, translation: V2) -> Self
Translate self by the given translation vector.
self