From 99bc4eedae99fc813db3a852139758bca75bddd7 Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Thu, 3 Jan 2019 14:01:00 +0100 Subject: fixed many warnings in TikzScene and related files (mostly floating point) --- src/tikzit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tikzit.h') 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 -- cgit v1.2.3