mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 07:02:01 +08:00
shortcut for unscale<coord_t>(coordf_t)
This commit is contained in:
parent
831efebe4c
commit
4cfefe8ac1
@ -86,6 +86,7 @@ template<typename T, typename Q>
|
||||
inline T unscale(Q v) { return T(v) * T(SCALING_FACTOR); }
|
||||
|
||||
inline double unscaled(double v) { return v * SCALING_FACTOR; }
|
||||
inline coordf_t unscale_(coord_t v) { return v * SCALING_FACTOR; }
|
||||
|
||||
enum Axis { X=0, Y, Z, E, F, NUM_AXES };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user