Addsy

square.cpp

Apr 13th, 2015
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include "square.hpp"
  2.  
  3.  
  4. Square::Square(const Vector2D& location) :
  5.     Shape(location)
  6. {
  7. vertices_=
  8.         {
  9.  
  10.                 {19.2,  19.2},
  11.                 {19.2,  -19.2},
  12.                 {-19.2,  -19.2},
  13.                 {-19.2,  19.2},
  14.  
  15.         };
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment