i dont know how
EDIT: is this it?
[quote:2jhgahsb]angA=(Math.atan(height/xval))*k1;
if(angA<0){angA=angA+180};
angB=180-angA;
angD=(Math.atan(height/adj))*k1;
if(angD<0){angD=angD+180};
angC=180-angD;
i dont know how to use java, this is the first time ive ever looked at it, but it seems pretty simple.
im just wondering what does math.atan mean? does it just mean atan? also what is k1? and what is xval? what is adj (adjacent im guessing)? srry for all the questions, i just want to be sure of what im doing.