A Line Segment primitive.
Static variables
Constructor
new(v0:Vector3D, v1:Vector3D, color0:Int = 0x333333, color1:Int = 0x333333, thickness:Float = 1)
Create a line segment
Parameters:
v0 | Start position of the line segment |
|---|---|
v1 | Ending position of the line segment |
color0 | Starting color of the line segment |
color1 | Ending colour of the line segment |
thickness | Thickness of the line |