Line3 constructor

Line3([
  1. Vector3? start,
  2. Vector3? end
])

start - Start of the line segment. Default is (0, 0, 0).

end - End of the line segment. Default is (0, 0, 0).

Implementation

Line3([Vector3? start, Vector3? end]) {
  this.start = (start != null) ? start : Vector3();
  this.end = (end != null) ? end : Vector3();
}