fn slope(&self, t: f32) -> f32 {
        let x = 2.0 * (1.0 - t) * (self.b.x - self.a.x) + 2.0 * t * (self.c.x - self.b.x);
        let y = 2.0 * (1.0 - t) * (self.b.y - self.a.y) + 2.0 * t * (self.c.y - self.b.y);
        y / x
    }
/// The slope of the tangent line at time t.
The slope of the tangent line at time t.
The slope of the tangent line at time t .
fn slope(&self, t: f32) -> f32 {
        let x = 2.0 * (1.0 - t) * (self.b.x - self.a.x) + 2.0 * t * (self.c.x - self.b.x);
        let y = 2.0 * (1.0 - t) * (self.b.y - self.a.y) + 2.0 * t * (self.c.y - self.b.y);
        y / x
    }
fn slope ( & self , t : f32 ) -> f32 { let x = 2.0 * ( 1.0 - t ) * ( self . b . x - self . a . x ) + 2.0 * t * ( self . c . x - self . b . x ) ; let y = 2.0 * ( 1.0 - t ) * ( self . b . y - self . a . y ) + 2.0 * t * ( self . c . y - self . b . y ) ; y / x }
The slope of the tangent line at time t.
The slope of the tangent line at time t .
&self
t
f32
&self
t
f32