Files
OrcaSlicer/deps_src/clipper2/Clipper2Lib/include/clipper2/clipper2_z.hpp
Ian Bassi b93112c674 Move Clipper2 dependency to deps_src directory (#11736)
Relocated Clipper2 source files and CMake configuration from src/clipper2 to deps_src/clipper2. Updated CMakeLists to add Clipper2 as a dependency from the new location, improving dependency organization.

Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
2025-12-28 11:19:02 +02:00

18 lines
364 B
C++

// Hackish wrapper around the ClipperLib library to compile the Clipper2 library with the Z support.
#ifndef clipper2_z_hpp
#ifdef CLIPPER_H
#error "You should include clipper2_z.hpp before clipper.h"
#endif
#define clipper2_z_hpp
// Enable the Z coordinate support.
#define USINGZ
#include "clipper.h"
#undef CLIPPER_H
#undef USINGZ
#endif // clipper2_z_hpp