mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Revert "Fix: Orientation() has been declared inline, therefore not exported."
This reverts commit c2ee73d211.
This commit is contained in:
@@ -285,6 +285,12 @@ inline Int128 Int128Mul (long64 lhs, long64 rhs)
|
||||
// Miscellaneous global functions
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
inline bool Orientation(const Path &poly)
|
||||
{
|
||||
return Area(poly) >= 0;
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
double Area(const Path &poly)
|
||||
{
|
||||
int size = (int)poly.size();
|
||||
|
||||
Reference in New Issue
Block a user