|Back to class index|
SyntaxLine Ray::ToLine() const; [4 lines of code]
[Ray] to a [Line].
The pos and dir members of the returned
[Line] will be equal to this [Ray]. The only difference is that a [Line] extends to infinity in two directions, whereas the [Ray] spans only in the positive direction.
4.105nsecs/call ≈ 243.59M calls/second ≈ 4.06M calls/frame (@ 60fps).
This function does not perform dynamic memory allocation.
dir, Ray::Ray, class Line, ToLineSegment().
Leave a Comment