Alexei Podtelezhnikov
884e4e67ee
[base] Implement fast vector normalization.
...
The function uses Newton's iterations instead of dividing vector
components by its length, which needs a square root. This is,
literally, a bit less accurate but a lot faster.
* src/base/ftcalc.c (FT_Vector_NormLen): New function.
2015-06-29 22:32:05 -04:00
..
2015-06-26 06:48:00 +02:00
2015-06-29 22:32:05 -04:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00
2015-06-26 06:48:00 +02:00