Addsy

triangle.cpp

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