Newbie - trig problem

Hi there,

Please help a humanist lost in trigonometry!! :}

I am trying to do the following: a class that draws a triangle onscreen when the mouse is clicked. The starting point would be the mouseX, mouseY, and I will give the angle when the class is instantiated.

So, I want to draw a triangle on the fly, knowing the initial x,y, the angle, and the length of the sides - how do I do that?

Sorry for the really lame question - I know the solution is easy, but I haven’t had math in 20 years (ghasp!) and a bit of the day has gone trying to figure this one out.

(oh, if it helps, the triangle will always be isosceles (I am trying to create a “radar” type of cone)).

Thanks!