
'Declare Function PolygonCenter ( Quad ( Any ) As QuadType, Vertice ( Any ) As VertexType ) As VertexType

Declare Function VertexConvert Overload ( VI As VertexIntType ) As VertexType
Declare Function VertexConvert Overload ( VF As VertexType ) As VertexIntType

Declare Function VertexFunnel Overload ( X As Double = 0.0, Y As Double = 0.0, Z As Double = 0.0 ) As VertexType

Declare Function VertexFunnel Overload ( X As Long = 0, Y As Long = 0, Z As Long = 0  ) As VertexIntType

Declare Function PolygonOffset ( ByRef Polygon As PolygonType ) As UByte
Declare Function Polygon_Twist ( ByRef Polygon As PolygonType ) As UByte
Declare Function Polygon_Radius ( ByRef Polygon As PolygonType ) As UByte

Declare Function PolygonFacing ( ByRef Polygon As PolygonType ) As UByte
Declare Function RenderTriangle ( ByRef Polygon As PolygonType , Ink As Long = &HFFFFFFFF ) As UByte

'Declare SUB Render_Axis_Set ( Translation As TranslationType, Axis As PolygonType )

Declare SUB Plot ( Center As VertexType, Offset As VertexType, Pt As VertexType, Ink AS Long, PlotMode AS STRING, Pattern AS LONG, Scale As VertexType )

Declare Function Render_ThreeToTwo ( Vertex As VertexType, Offset As VertexType, Axis As PolygonType, Scale As VertexType ) As VertexType

Declare SUB Triangle ( Tri As PolygonType, Ink As Long, Tri_Fill AS LONG, Stp AS DOUBLE, Center As VertexType )

Declare Function VectorToDecimal ( Vector As VertexType ) As Double

Declare Function VectorToRadius ( Vector As VertexType ) As Double

Declare SUB Render_Axis_Set ( Translation As TranslationType, Axis As PolygonType )

#Include Once ".\Polygons.bas"
