fn point(&self, t: f32) -> Point {
        let a = 1.0 - t;
        let a = a * a;
        let x = a * self.a.x + 2.0 * (1.0 - t) * t * self.b.x + (t * t) * self.c.x;
        let y = a * self.a.y + 2.0 * (1.0 - t) * t * self.b.y + (t * t) * self.c.y;
        Point::new(x, y)
    }
/// The point at time t in the curve.
The point at time t in the curve.
The point at time t in the curve .
fn point(&self, t: f32) -> Point {
        let a = 1.0 - t;
        let a = a * a;
        let x = a * self.a.x + 2.0 * (1.0 - t) * t * self.b.x + (t * t) * self.c.x;
        let y = a * self.a.y + 2.0 * (1.0 - t) * t * self.b.y + (t * t) * self.c.y;
        Point::new(x, y)
    }
fn point ( & self , t : f32 ) -> Point { let a = 1.0 - t ; let a = a * a ; let x = a * self . a . x + 2.0 * ( 1.0 - t ) * t * self . b . x + ( t * t ) * self . c . x ; let y = a * self . a . y + 2.0 * ( 1.0 - t ) * t * self . b . y + ( t * t ) * self . c . y ; Point :: new ( x , y ) }
The point at time t in the curve.
The point at time t in the curve .
&self
t
f32
&self
t
f32