Back to class index
| Ray::ToLineSegmentSyntaxLineSegment Ray::ToLineSegment(float d) const; [4 lines of code]Converts this Ray to a LineSegment. ParametersfloatdSpecifies the position of the other endpoint along this Ray. This parameter may be negative, in which case the returned LineSegment does not lie inside this Ray. Return ValueA LineSegment with point a at pos, and point b at pos + d * dir. See Also |