ID:275653
 
Hello I was woundering what the dot product of the equation bellow would look like. I mean so you can get a.

var/a = (x0, y0) · ((x, y) - (x0, y0))

If no one knows the dot product its (a, b) · (c, d) = ac + bd.

I was thinking of some kinda distrobution like var/a = x0*(x-x0) + y0*(y-y0), then you can x0*x - x0*x0 + y0*y - y0*y0. What you think? [edit] *BUMP*