#include ".\rectangle.h" void RectangleR::Draw(GLfloat* C ){ Triangle::Draw(C); //float vec[3] = {-1.0f, 0.0, 0.0f}; Triangle T(((this->right-this->top)+(this->left-this->top)) + this->top, this->right, this->left); T.Draw(); } RectangleR::RectangleR(Point3D x, Point3D y, Point3D z):Triangle(x, y, z){ }