Triangle2d
Triangle2d
- vertices : [glam::Vec2; 3]
Description
A triangle in 2D space
Functions
Function | Summary |
---|---|
clone(_self) | No Documentation 🚧 |
eq(_self, other) | No Documentation 🚧 |
is_acute(_self) | Checks if the triangle is acute, meaning all angles are less than 90 degrees |
is_degenerate(_self) | Checks if the triangle is degenerate, meaning it has zero area. A triangle is degenerate if the cr |
is_obtuse(_self) | Checks if the triangle is obtuse, meaning one angle is greater than 90 degrees |
new(a, b, c) | Create a new `Triangle2d` from points `a`, `b`, and `c` |
reverse(_self) | Reverse the [`WindingOrder`] of the triangle by swapping the first and last vertices. |
reversed(_self) | This triangle but reversed. |