pub fn body(mut self, width: f64, height: f64) -> Self {
        self.body.p.0.x = -width / 2.0;
        self.body.p.0.y = -height / 2.0;
        self.body.p.1.x = width / 2.0;
        self.body.p.1.y = height / 2.0;
        self
    }
/// Builds a `TwoPin` with modified body.
Builds a `TwoPin` with modified body.
Builds a ` TwoPin ` with modified body .
pub fn body(mut self, width: f64, height: f64) -> Self {
        self.body.p.0.x = -width / 2.0;
        self.body.p.0.y = -height / 2.0;
        self.body.p.1.x = width / 2.0;
        self.body.p.1.y = height / 2.0;
        self
    }
pub fn body ( mut self , width : f64 , height : f64 ) -> Self { self . body . p . 0 . x = - width / 2.0 ; self . body . p . 0 . y = - height / 2.0 ; self . body . p . 1 . x = width / 2.0 ; self . body . p . 1 . y = height / 2.0 ; self }
Builds a `TwoPin` with modified body.
Builds a ` TwoPin ` with modified body .
mut self
width
f64
height
f64
mut self
width
f64
height
f64