What is the formula for a straight line, in 3D? In 2D it is y=mx+c right.

TIA

-TiPeRa