split transform into cut and copy commands and implement history

This commit is contained in:
2018-11-25 22:14:50 +01:00
parent 0d0cd3db7f
commit 0685155a45
5 changed files with 204 additions and 45 deletions

View File

@@ -97,6 +97,7 @@ public:
return create_buffers(vertices, sizeof(vertex_t) * vcount);
}
void update_vertices(vertex_t* vertices, int vcount);
void clear() { update_vertices(nullptr, 0); }
};
class Plane : public Shape