Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "circle.hpp"
- Circle::Circle(const Vector2D& location) :
- Shape(location)
- {
- vertices_=
- {
- {19.2, 0}, //P1
- {19.2, 3.84}, //P2
- {17.664, 7.68}, //P3
- {15.36, 11.52}, //P4
- {11.52, 15.36}, //P5
- {7.68, 17.664}, //P6
- {3.84, 19.2}, //P7
- {0, 19.2}, //P8
- {-3.84, 19.2}, //P9
- {-7.68, 17.664}, //P10
- {-11.52, 15.36}, //P11
- {-15.36, 11.52}, //P12
- {-17.664, 7.68}, //P13
- {-19.2, 3.84}, //P14
- {-19.2, 0}, //P15
- {-19.2, -3.84}, //P16
- {-17.664, -7.68}, //P17
- {-15.36, -11.52}, //P18
- {-11.52, -15.36}, //P19
- {-7.68, -17.664}, //P20
- {-3.84, -19.2}, //P21
- {0, -19.2}, //P22
- {3.84, -19.2}, //P23
- {7.68, -17.664}, //P24
- {11.52, -15.36}, //P25
- {15.36, -11.52}, //P26
- {17.664, -7.68}, //P27
- {19.2, -3.84}, //P28
- {19.2, 0} //P29
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment