Advertisement
5_2007-2008 Games #184388

Taylor Series VS Sqr() Distance Testing (2D & 3D) (*UPDATE*)

Thanks to Robert Rayment the VB version of TaylorDistance3D works right now. This is another way to test for distance if you don't like to use the Sqr() Function. Its the Taylor/Maclaurin Series. The only problem is theres a Max Error of 3.5% in 2D and a Max error of 8.0% in 3D. So if you need exact accuracy don't use this. This can also be found in Andre LaMothe's Book. "Tricks Of The Windows Game Programming Gurus" Enjoy. -James-

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine