From af14a811af249a315df199f401127d6077e4e7dd Mon Sep 17 00:00:00 2001 From: Garux Date: Tue, 23 Nov 2021 14:47:03 +0300 Subject: [PATCH] disable quantiseFloating of brush plane points (why was this needed?) --- radiant/brush.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radiant/brush.h b/radiant/brush.h index 63e8f00e..9f73be8c 100644 --- a/radiant/brush.h +++ b/radiant/brush.h @@ -860,7 +860,11 @@ inline double quantiseInteger( double f ){ } inline double quantiseFloating( double f ){ +#if 0 return float_snapped( f, 1.f / ( 1 << 16 ) ); +#else + return f; +#endif } typedef double ( *QuantiseFunc )( double f );