Topic awaiting preservation: Simple Trig. question (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Brisbane, Australia |
posted 03-10-2003 00:17
My brain isn't working today so I thought I'd borrow yours. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-10-2003 00:27
This math might be able to be simplified in order to reduce the number of operations the processor needs to do: |
Maniac (V) Inmate From: Brisbane, Australia |
posted 03-10-2003 00:40
Execelent, thanks slime! That works a treat. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-10-2003 00:58
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Inmate From: Brisbane, Australia |
posted 03-10-2003 01:23
Ok so this should work right... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-10-2003 04:16
That code you gave will do the test for the diagonal from the upper left to the lower right. To do the test from the lower left to the top right, just change the line |
Maniac (V) Inmate From: Brisbane, Australia |
posted 03-10-2003 04:37
Ay, thanks again slime, I had em the wrong way around. Silly me. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-10-2003 06:12
Here's the function I'd use for ultimate speed: |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-10-2003 14:02
The poster has demanded we remove all his contributions, less he takes legal action. |