Finish implementing a marching cube method