Hi.
I’ve had a look at the various trigonometry functions: Math.tan() etc.
However I’m a little confused as to how to use them to do what I want.It’s made all the more so by the fact that they deal with ‘radians’ rather than ‘degrees’!
I’m trying to do some basic geometry using trigonometry. For example to calculate angle A knowing that tan A = Opposite length/adjacent length.
I know how to use this ‘on paper’ but I just don’t know how to do it with the javascript functions! I’ve searched for an online tutorial but without much success.
This is for an experimental project to create simple program to build 3-d Graphics, just for the record.
Help appreciated.