04-18-2019, 07:54 PM

LINE(points definition, line definition, rotation matrix)

LINE(pre-rotated points, line definition)

I am trying to draw a 3D line from (0,0,0) to (1,2,1). I think I have the points definition down but the snytax of line definition confused me.

The line definition has the format {p1, p2, color*, alpha*}. P1 and P2 are index points but how do I use this?

What is the pre-rotated matrix?

What is the quickest and easiest way to draw a 3D line between (0,0,0) and (1,2,1)?

Also, how does the rotation matrix work?

Thank you,. Eddie

LINE(pre-rotated points, line definition)

I am trying to draw a 3D line from (0,0,0) to (1,2,1). I think I have the points definition down but the snytax of line definition confused me.

The line definition has the format {p1, p2, color*, alpha*}. P1 and P2 are index points but how do I use this?

What is the pre-rotated matrix?

What is the quickest and easiest way to draw a 3D line between (0,0,0) and (1,2,1)?

Also, how does the rotation matrix work?

Thank you,. Eddie