Find regular polygon vertices and then center it inside an square

后端 未结 0 1708
别跟我提以往
别跟我提以往 2020-11-21 17:32

I\'m drawing a polygon by getting the points of it\'s vertices like this

std::vector poligonPoints(int numberOfSides, double radius) {
  std::ve         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题