I tried to write a program where a vector is calculated that bisects the angle between two lines that share one common point. For that I’ve come up with some code (Since this it not the only thing I’m trying to do the code is a bit longer but I’ve boiled down the problem to ..
I’m trying to draw a dialog box with sfml and I’m using a VertexArray with quads. I want it to have a corner with 2 points like in the image. Could someone help me with the math on how to get the length of A? Or maybe someone has a suggestion to do it in ..