Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::shared_ptr<fokin::Shape> testRectangle1 =
- std::make_shared<fokin::Rectangle>(4.0, 4.0, fokin::point_t{ 0.0, 0.0 });
- std::shared_ptr<fokin::Shape> testRectangle2 =
- std::make_shared<fokin::Rectangle>(1.0, 1.0, fokin::point_t{ 8.0, 8.0 });
- std::shared_ptr<fokin::Shape> testCircle1 =
- std::make_shared<fokin::Circle>(fokin::point_t{ 8.0, 7.0 }, 2.0);
- std::shared_ptr<fokin::Shape> testCircle2 =
- std::make_shared<fokin::Circle>(fokin::point_t{ 0.0, 0.0 }, 3.0);
- fokin::MatrixShape testMatrix;
- testMatrix.addShape(testRectangle1);
- testMatrix.addShape(testRectangle2);
- testMatrix.addShape(testCircle1);
- testMatrix.addShape(testCircle2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement