mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Use Vertex Buffer Objects for rendering of 3D volumes if possible.
This commit is contained in:
parent
c32c7fa1dc
commit
7f7d2da5fe
8 changed files with 257 additions and 103 deletions
|
@ -1353,7 +1353,7 @@ Polygons EdgeGrid::Grid::contours_simplified(coord_t offset) const
|
|||
return out;
|
||||
}
|
||||
|
||||
#ifdef SLIC3R_GUI
|
||||
#if 0
|
||||
void EdgeGrid::save_png(const EdgeGrid::Grid &grid, const BoundingBox &bbox, coord_t resolution, const char *path)
|
||||
{
|
||||
unsigned int w = (bbox.max.x - bbox.min.x + resolution - 1) / resolution;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue