Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Given a direction vector and a point, how to draw a 3d line?

I have a point

(-e^pi, 0, e^pi)

and a direction vector

tvec = vector((e^t * cos(t) - e^t * sin(t), e^t * sin(t) + e^t * cos(t), e^t))

How would I draw a 3d line based upon these 2 arguments?

I looked over at the documentation but I couldnt find it.

click to hide/show revision 2
retagged

Given a direction vector and a point, how to draw a 3d line?

I have a point

(-e^pi, 0, e^pi)

and a direction vector

tvec = vector((e^t * cos(t) - e^t * sin(t), e^t * sin(t) + e^t * cos(t), e^t))

How would I draw a 3d line based upon these 2 arguments?

I looked over at the documentation but I couldnt find it.