VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by James Dougherty (22 Submissions)
Category: Games
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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-

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

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

Download Taylor Series VS Sqr() Distance Testing (2D & 3D) (UPDATE) (35 KB)

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

No comments have been posted about Taylor Series VS Sqr() Distance Testing (2D & 3D) (UPDATE). Why not be the first to post a comment about Taylor Series VS Sqr() Distance Testing (2D & 3D) (UPDATE).

Post your comment

Subject:
Message:
0/1000 characters