Derive linear function from normal angle vector and location vector

29 Views Asked by At

I have a normal vector (x, y) representing the angle of the line and another one representing a point crossed by the line, aka location.

How can I turn this into a $y = mx + b$ function?

I started with $(x + location.x) * angle.x + (y + location.y) * angle.y = 0$ but I don't think that's right and I'm just confused now.