Some checks failed
My Build All / build_windows (push) Has been cancelled
My Build All / build_linux_portable (push) Has been cancelled
My Build All / build_linux_appimage (push) Has been cancelled
My Build All / build_macos (push) Has been cancelled
My Build All / Publish release assets (push) Has been cancelled
Shellcheck / Shellcheck (push) Has been cancelled
18 lines
392 B
C++
18 lines
392 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 clipper_z.hpp before clipper.hpp"
|
|
#endif
|
|
|
|
#define clipper_z_hpp
|
|
|
|
// Enable the Z coordinate support.
|
|
#define CLIPPERLIB_USE_XYZ
|
|
|
|
#include "clipper.hpp"
|
|
|
|
#undef clipper_hpp
|
|
#undef CLIPPERLIB_USE_XYZ
|
|
|
|
#endif // clipper_z_hpp
|