How do i generate an imaginary line in 3d space?

DarkGDK has it's own forum, I guess you'll have a better change of getting your question answered over there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.