#### Archived

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

# 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.

## 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 on other sites
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 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 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?

1. 1
Rutin
19
2. 2
3. 3
JoeJ
16
4. 4
5. 5

• 26
• 20
• 13
• 13
• 17
• ### Forum Statistics

• Total Topics
631700
• Total Posts
3001781
×