pub fn area(self) -> f32 {
        // Heron's Formula
        ((self.b.x - self.a.x) * (self.c.y - self.a.y)
            - (self.c.x - self.a.x) * (self.b.y - self.a.y))
            .abs()
            / 2.0
    }
///Calculate the area of the triangle
Calculate the area of the triangle
Calculate the area of the triangle
pub fn area(self) -> f32 {
        // Heron's Formula
        ((self.b.x - self.a.x) * (self.c.y - self.a.y)
            - (self.c.x - self.a.x) * (self.b.y - self.a.y))
            .abs()
            / 2.0
    }
pub fn area ( self ) -> f32 { // Heron's Formula ( ( self . b . x - self . a . x ) * ( self . c . y - self . a . y ) - ( self . c . x - self . a . x ) * ( self . b . y - self . a . y ) ) . abs ( ) / 2.0 }
Calculate the area of the triangle
Calculate the area of the triangle
self
self