diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2019-01-03 14:01:00 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2019-01-03 14:01:00 +0100 |
commit | 99bc4eedae99fc813db3a852139758bca75bddd7 (patch) | |
tree | cec779f1a075f8b7e8f5eac02ee8e9441e516f14 /src/tikzit.h | |
parent | cbe3074cedac1cc509282a1a0df80cac998355a6 (diff) |
fixed many warnings in TikzScene and related files (mostly floating point)
Diffstat (limited to 'src/tikzit.h')
-rw-r--r-- | src/tikzit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tikzit.h b/src/tikzit.h index 15f0b46..6249b9e 100644 --- a/src/tikzit.h +++ b/src/tikzit.h @@ -76,8 +76,8 @@ // Number of pixels between (0,0) and (1,0) at 100% zoom level. This should be // divisible by 8 to avoid rounding errors with e.g. grid-snapping. #define GLOBAL_SCALE 40 -#define GLOBAL_SCALEF 40.0f -#define GLOBAL_SCALEF_INV 0.025f +#define GLOBAL_SCALEF 40.0 +#define GLOBAL_SCALEF_INV 0.025 #define GRID_N 4 #define GRID_SEP 10 #define GRID_SEPF 10.0f |