set method

LineSegment set(
  1. Vector3 from,
  2. Vector3 to
)

Sets the given values to this line segment.

Implementation

LineSegment set(Vector3 from, Vector3 to ) {
	this.from = from;
	this.to = to;

	return this;
}