Function RecastMeshGatherer.CircleRadiusAdjustmentFactor

CircleRadiusAdjustmentFactor (int steps)

If a circle is approximated by fewer segments, it will be slightly smaller than the original circle.

Private Static
float CircleRadiusAdjustmentFactor (

int

steps

)

If a circle is approximated by fewer segments, it will be slightly smaller than the original circle.

This factor is used to adjust the radius of the circle so that the resulting circle will have roughly the same area as the original circle.