color : the color of the polygon to create. numPoints : number of points. points : polygon points.
Remarks
This function should be disabled, but it may still work.
In Q3 1.31, only a single debug polygon can be displayed at once.
Calling trap_DebugPolygonCreate to draw a second polygon causes none of them to be drawn on the screen.
Delete the old polygon before trying to draw the new one.
Return value
Returns a reference handle to the polygon as it appears in the renderlist.