How to draw a line

I need to draw a simple line from one 3d point to another.

self.segs = LineSegs("lines");
self.segsnode = self.segs.create(False)
self.segs.drawTo(-1, 3, 0)
self.segs.drawTo(1, 2, 1)

any clue why nothing shows up?
are there some convenience functions for doing this or am I going about it right?

Change the order of your operations:


that worked beautifully. thank you