A little help with trig please.

Blitz3D Forums/Blitz3D Programming/A little help with trig please.

I want to create and n-sided polygon (sides of equal length) by specifying the start and end points only.

Does anyone have a little snippit of code that can help me?

Oh and I'm in 2d here.

Regards,

Tim.