void Polygon3D::subtract(Transform3D& xform) { // translate *this -= xform.getLocation(); // rotate subtractRotation(xform); }
void Polygon3D::add(Transform3D& xform) { // rotate addRotation(xform); // translate *this += xform.getLocation(); }