mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-13 08:24:27 +00:00
7861fa5086
These appear in newer gcc when spaces and tabs are mixed
19 lines
361 B
C++
19 lines
361 B
C++
// Hackish wrapper around the ClipperLib library to compile the Clipper library with the Z support.
|
|
|
|
#ifndef clipper_z_hpp
|
|
#ifdef clipper_hpp
|
|
#error "You should include the clipper_z.hpp first"
|
|
#endif
|
|
|
|
#define clipper_z_hpp
|
|
|
|
// Enable the Z coordinate support.
|
|
#define use_xyz
|
|
|
|
#include "clipper.hpp"
|
|
|
|
#undef clipper_hpp
|
|
#undef use_xyz
|
|
|
|
#endif // clipper_z_hpp
|