My "QuickTrig" Helper Class

I've uploaded a ZIP file that contains the source code for the "QuickTrig" helper class that I've mentioned a couple of times now.  You can get it by clicking this link.

For those curious, looking through that should help explain how I can handle my angles primarily in degrees (as mentioned in my previous post).

Feel free to give it a look ... and use it if it helps you out.  Performance-wise, I've found the COS and SIN look-up functions to take half the time of the comparable Math.Cos and Math.Sin traditional functions.  While the speed increase is nice, being able to just work in degrees with the rest of my code is the biggest help given by this class.

-Matt

Published Saturday, March 08, 2008 11:22 AM by MattWorden
Filed under:

Comments

No Comments