diff options
Diffstat (limited to 'src/sdf/ftsdf.c')
-rw-r--r-- | src/sdf/ftsdf.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/sdf/ftsdf.c b/src/sdf/ftsdf.c index 6a38aedca..bb8b97cb1 100644 --- a/src/sdf/ftsdf.c +++ b/src/sdf/ftsdf.c @@ -155,19 +155,6 @@ #define VEC_26D6_DOT( p, q ) ( MUL_26D6( p.x, q.x ) + \ MUL_26D6( p.y, q.y ) ) - /* [IMPORTANT]: The macro `VECTOR_LENGTH_16D16' is not always the same */ - /* and must not be used anywhere except a few places. This macro is */ - /* controlled by the `USE_SQUARED_DISTANCES' macro. It compute squared */ - /* distance or actual distance based on `USE_SQUARED_DISTANCES' value. */ - /* By using squared distances the performance can be greatly improved */ - /* but there is a risk of overflow. Use it wisely. */ - #if USE_SQUARED_DISTANCES - # define VECTOR_LENGTH_16D16( v ) ( FT_MulFix( v.x, v.x ) + \ - FT_MulFix( v.y, v.y ) ) - #else - # define VECTOR_LENGTH_16D16( v ) FT_Vector_Length( &v ) - #endif - /************************************************************************** * * structures and enums |