update assimp to 6.0.5

This commit is contained in:
AzaezelX 2026-06-09 12:46:56 -05:00
parent 2d2eb57e2e
commit f5cf21cfeb
941 changed files with 22718 additions and 12240 deletions

File diff suppressed because it is too large Load diff

View file

@ -45,9 +45,9 @@
//use_lines: Enables line clipping. Adds a very minor cost to performance.
#define use_lines
//use_deprecated: Enables temporary support for the obsolete functions
//#define use_deprecated
//#define use_deprecated
#include <vector>
#include <list>
@ -98,7 +98,7 @@ struct IntPoint {
}
friend inline bool operator!= (const IntPoint& a, const IntPoint& b)
{
return a.X != b.X || a.Y != b.Y;
return a.X != b.X || a.Y != b.Y;
}
};
//------------------------------------------------------------------------------
@ -133,8 +133,8 @@ enum EndType {etClosedPolygon, etClosedLine, etOpenButt, etOpenSquare, etOpenRou
class PolyNode;
typedef std::vector< PolyNode* > PolyNodes;
class PolyNode
{
class PolyNode
{
public:
PolyNode();
virtual ~PolyNode(){};
@ -146,7 +146,7 @@ public:
bool IsOpen() const;
int ChildCount() const;
private:
//PolyNode& operator =(PolyNode& other);
//PolyNode& operator =(PolyNode& other);
unsigned Index; //node index in Parent.Childs
bool m_IsOpen;
JoinType m_jointype;
@ -154,11 +154,11 @@ private:
PolyNode* GetNextSiblingUp() const;
void AddChild(PolyNode& child);
friend class Clipper; //to access Index
friend class ClipperOffset;
friend class ClipperOffset;
};
class PolyTree: public PolyNode
{
{
public:
~PolyTree(){ Clear(); };
PolyNode* GetFirst() const;
@ -300,10 +300,10 @@ private:
PolyFillType m_ClipFillType;
PolyFillType m_SubjFillType;
bool m_ReverseOutput;
bool m_UsingPolyTree;
bool m_UsingPolyTree;
bool m_StrictSimple;
#ifdef use_xyz
ZFillCallback m_ZFill; //custom callback
ZFillCallback m_ZFill; //custom callback
#endif
void SetWindingCount(TEdge& edge);
bool IsEvenOddFillType(const TEdge& edge) const;
@ -357,7 +357,7 @@ private:
};
//------------------------------------------------------------------------------
class ClipperOffset
class ClipperOffset
{
public:
ClipperOffset(double miterLimit = 2.0, double roundPrecision = 0.25);