IntersectsLine
This function performs an intersection test between a plane and a line in space.
Syntax
- bool IntersectsLine(Vec3 p0, Vec3 p1, Vec3 result)
Parameters
- p0: the starting point of the line.
- p1: the terminal point of the line.
- result: if the plane intersects the specified line, the intersection point will be filled into this value.
Returns
Returns true if the plane intersects the specified line, otherwise false is returned.