13 struct SAutoUVVertexNormal
15 SAutoUVVertexNormal() : normal(ZERO
), weighting(0.0f
) {}
23 SAutoUVEdge
* edges
[3];
31 SAutoUVFace
*faces
[2];
34 struct SAutoUVStackEntry
43 SAutoUVTri(Vec2
&a
, Vec2
&b
, Vec2
&c
, Vec3
&ap
, Vec3
&bp
, Vec3
&cp
, SAutoUVVertex
*va
, SAutoUVVertex
*vb
, SAutoUVVertex
*vc
);
51 SAutoUVVertex
*orig
[3];
54 struct SAutoUVFinalVertex
67 SAutoUVSquare(int _w
, int _h
, float _mx
, float _my
, int polyStart
, int polyEnd
);
68 bool operator <(const SAutoUVSquare
&rhs
) const;
70 void RotateTris(std::vector
<SAutoUVTri
> &tris
);
79 class SAutoUVExpandingRasteriser
82 SAutoUVExpandingRasteriser(float resolution
);
83 ~SAutoUVExpandingRasteriser();
85 void ExpandToFitVertices(int bbMin
[2], int bbMax
[2]);
86 bool RayTest(Vec2
&a
, Vec2
&b
, Vec2 c
, int x
, int y
);
87 bool RasteriseTriangle(Vec2
&a
, Vec2
&b
, Vec2
&c
, bool bWrite
);