Optimized Stack Operations
|
02-25-2019, 08:45 AM
Post: #5
|
|||
|
|||
RE: Optimized Stack Operations
(02-25-2019 07:57 AM)ijabbott Wrote: They are nearly the same apart from an x offset. It was also my idea to use \(\cos \theta = \sin \theta + \frac{\pi}{2}\): Code: PI Maybe you already keep \(\frac{\pi}{2}\) as a constant. Another benefit is that you don't have to deal with the sign of the square root if \(\cos \theta < 0\). Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)