Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Physik

triangle/triangle collision detection(3d)

This topic is 6063 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

do you think it''s possible to write a CD, which only uses + - * / ? no sqrt, sin, tan ... etc.. !! i''ve never seen such a CD, is it just impossible or too slow? thanks!

Share this post


Link to post
Share on other sites
Advertisement
Of course it is possible, as long as you are computing collisions in 2D. You can do this using bounding poligons (e.g. rectangles).

------------------------------------------------------------
"To a computer, chaos is just another kind of order."

Share this post


Link to post
Share on other sites
Well, you can make lookup tables for the trigonometric functions using their infinite series forms (which are defined with +, -, * and /). There are a few fast ways to calculate square roots on the fly using basic arithmetic.

Share this post


Link to post
Share on other sites
well, to be honest, i recently made such a CD and it works just great! very accurate, very easy to understand! but i don''t know how fast it actually is! it really doesn''t need any sqrt, sin, cos, tan....etc.. therefore i guess it isn''t too slow...
but i''m a bit confused about it ''cause i never heard of such a CD before.....

@Profus
it''s in 3d!

what do you think?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!