Returns the point that is halfway between start and end.
Creates a new Line3. If unspecified, the start and end values of the line will be at origin.
Line3
The values to assign to the line.
Returns a vector describing the direction of the line from start to end.
Euclidean distance between the start and end points of the line.
Returns the squared distance between a line's start and end point. If you're just comparing distances, this is slightly more efficient than distanceTo.
distanceTo
Returns a line where the start and end points are transformed with the given matrix.
The line to transform.
The matrix to apply.
A transformed line.
Returns the point that is halfway between start and end.