Ok, ive already done my exams so i dont need to remember
now which one do I use to work out the oposite sides (cant remember what they are called) of a triangle when i only have the angle and the length of the hypothonuse?
If (angle mod 360) > 180 then h * sin (angle) will be negative.
If (angle mod 360) > 90 and < 270 then h * cos (angle) will be negative.
(Assuming h is positive)
angle will always be greater than 0 and less than 90, it will NEVER be 0 or 90
h is ALWAYS positive.
what im trying to do is move one end of a line in a semi circle based on a perentage given to it ie. 25% is 45deg and as with a line you can specify the length or the angle i work the angle out from the percentage (percentage * 1.8)
i have attacted my form.... ignore all the lines (they were there for other purposes) end even the circle, except the red and blue lines
ive sorted the code to minus 90deg if it is over 90deg and mark in a varible (Acute_Angle) so that i know wether to add a (length on the X axis) to the postion of the center where the line meets its base line