Dont i feel dumb. typo while assigning the screen coordinates, before getting the endpoints. I assigned the screen x to the tVec1.x. After fixing that, it came out with a z of 0.4, and an x of -18.2.

Z.