mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-27 01:58:36 -07:00
FIX: Fix missing fmod declaration
/run/build/BambuStudio/src/slic3r/GUI/EncodedFilament.hpp: In function ‘Slic3r::ColourHSV Slic3r::wxColourToHSV(const wxColour&)’:
/run/build/BambuStudio/src/slic3r/GUI/EncodedFilament.hpp:41:25: error: ‘fmod’ was not declared in this scope
41 | h = 60.0 * (fmod(((g - b) / delta), 6.0));
| ^~~~
(cherry picked from commit 625b661f292fdac9b337365b6792c959f6df59ff)
This commit is contained in:
parent
fa68dde4b3
commit
46abd03bde
1 changed files with 1 additions and 1 deletions
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <math.h>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <cmath>
|
||||
|
||||
#include <wx/colour.h>
|
||||
#include <wx/string.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue