![]() Topic awaiting preservation: Simple Trig. question (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Brisbane, Australia |
![]() My brain isn't working today so I thought I'd borrow yours. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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 |
![]() Execelent, thanks slime! That works a treat. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Inmate From: Brisbane, Australia |
![]() Ok so this should work right... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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 |
![]() Ay, thanks again slime, I had em the wrong way around. Silly me. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Here's the function I'd use for ultimate speed: |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |