Draw n-gon problem

BlitzMax Forums/BlitzMax Programming/Draw n-gon problem

360/numsides is an int division. Change to 360.0/numsides
and in the for loop numsides-1 (otherwise you are drawing the first line twice