module PF::G3d
Defined in:
g3d.crClass Method Summary
-
.line_intersects_plane(plane_point : Vector3(Float64), plane_normal : Vector3(Float64), line_start : Vector3(Float64), line_end : Vector3(Float64))
Given a point on a plane plane_point, and a normal to the plane plane_normal, see if a line from line_start to line_end intersects a plane, and return the point at intersection
Class Method Detail
def self.line_intersects_plane(plane_point : Vector3(Float64), plane_normal : Vector3(Float64), line_start : Vector3(Float64), line_end : Vector3(Float64))
#
Given a point on a plane plane_point, and a normal to the plane plane_normal, see if a line from line_start to line_end intersects a plane, and return the point at intersection