[fpc-pascal] Calculating Pixels to represent 3D coordinates

Jean SUZINEAU Jean.Suzineau at wanadoo.fr
Sat Sep 21 02:00:32 CEST 2019


Tip: if you need Sin(A) and Cos(A), it can be faster to make a single 
call to SinCos instead of two separated calls to Sin and Cos:

https://www.freepascal.org/docs-html/rtl/math/sincos.html

It was efficient 20 years ago when I was developing a sky map software, 
may be the gain is negligible today.



More information about the fpc-pascal mailing list