MapGen is a full-featured CSG three-dimensional editor. It was written by me entirely in MFC/CPP roughly 7 years ago...