What is the correct way to draw a line in 3D? (non-debug)

Hey, thank you for the replies. Splines ended up working as intended.