[fpc-pascal] Calculating Pixels to represent 3D coordinates
james at productionautomation.net
Sat Sep 21 19:24:47 CEST 2019
Thanks for the Tip! I had no idea there was a single function that would return both sine and cosine.
From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> On Behalf Of Jean SUZINEAU
Sent: Friday, September 20, 2019 8:01 PM
To: fpc-pascal at lists.freepascal.org
Subject: Re: [fpc-pascal] Calculating Pixels to represent 3D coordinates
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:
It was efficient 20 years ago when I was developing a sky map software, may be the gain is negligible today.
fpc-pascal maillist - fpc-pascal at lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
More information about the fpc-pascal