Does acos, atan functions in stl uses lots of cpu cycles
Posted
by jan
on Stack Overflow
See other posts from Stack Overflow
or by jan
Published on 2010-06-01T21:30:29Z
Indexed on
2010/06/01
22:33 UTC
Read the original article
Hit count: 209
c++
Hi all,
I wanted to calculate the angle between two vectors but I have seen these inverse trig operations such as acos and atan uses lots of cpu cycles. Is there a way where I can get this calculation done without using these functions? Also, does these really hit you when you in your optimization?
© Stack Overflow or respective owner