Now with RUST
The journey of me learning rust by implementing everything I can think of with triangles.
- Create triangles with points.
- Find the distance between two points to get length of a side.
- Calculate the perimeter of a triangle.
- Calculate the area of a triangle (Normal way and with Heron's Formula).
- Check whether a point is inside a triangle.
- Check whether a triangle is inside another triangle.
- Check whether a triangle can contain another triangle.
Clone the repo to your machine. Make sure Rust is installed.
cargo run