| 59 | } |
| 60 | |
| 61 | std::int64_t area( const Vector2i & a, const Vector2i & b, const Vector2i & c ) |
| 62 | { |
| 63 | const std::int64_t xx( a.x - c.x ); |
| 64 | const std::int64_t xy( a.y - c.y ); |
| 65 | const std::int64_t yx( b.x - c.x ); |
| 66 | const std::int64_t yy( b.y - c.y ); |
| 67 | return xx * yy - xy * yx; |
| 68 | } |
| 69 | |
| 70 | } // anonymous namespace |
| 71 |
no outgoing calls
no test coverage detected