theta, None, color)
if model.show_stars:
- apothem = model.element_radius * cos(pi / model.element_sides)
- apothem_angle = theta + pi / model.element_sides
-
- sverts = self.get_regular_polygon(x, y, model.element_sides, apothem,
- apothem_angle)
- self.draw_star(x, y, sverts, color)
+ self.draw_star(x, y, model.element_sides, model.element_radius,
+ theta, color)
if __name__ == '__main__':