Plane.Intersect

bool Intersect(Ray ray, Vec3& at)

Checks the intersection of a ray with this plane!

   
Ray ray Ray we’re checking with.
Vec3& at An out parameter that will hold the intersection point. If there’s no intersection, this will be (0,0,0).
RETURNS: bool True if there’s an intersection, false if not. Refer to the ‘at’ parameter for intersection information!
bool Intersect(Vec3 lineStart, Vec3 lineEnd, Vec3& at)

Checks the intersection of a line with this plane!

   
Vec3 lineStart Start of the line.
Vec3 lineEnd End of the line.
Vec3& at An out parameter that will hold the intersection point. If there’s no intersection, this will be (0,0,0).
RETURNS: bool True if there’s an intersection, false if not. Refer to the ‘at’ parameter for intersection information!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!