4
// this needs to be included early for MSVC (listing it in Build.PL is not enough)
20
#include "perlglue.hpp"
24
#define SCALING_FACTOR 0.000001
25
#define PI 3.141592653589793238
26
#define scale_(val) (val / SCALING_FACTOR)
27
#define unscale(val) (val * SCALING_FACTOR)
28
#define SCALED_EPSILON scale_(EPSILON)
30
typedef double coordf_t;
33
using namespace Slic3r;
35
/* Implementation of CONFESS("foo"): */
36
#define CONFESS(...) confess_at(__FILE__, __LINE__, __func__, __VA_ARGS__)
37
void confess_at(const char *file, int line, const char *func, const char *pat, ...);
38
/* End implementation of CONFESS("foo"): */