#include "draw_shape.h" void rotate_and_draw_shape(Shape * ps, double new_angle) { ps->erase(); ps->rotate(new_angle); ps->draw(); }