Drawing a 3D line


Is it possible to draw a simple 3D line?
For example: line (x, y, z, x1, y1, z1); as in processing?

Thank you

Yes. You should consult the documentation for these simple things (or even try to write code to see if it works!) before posting here. :slight_smile:



Sorry! you are right. I read all the 3D references , not 2D graphics. void ofDrawLine (float x1, float y1, float z1, float x2, float y2, float z2) should be in 3D. It’s why! Shit I I spent a day looking for! Thanks.