module

PF3d

Constants

VERSION = {% (`shards version`).chomp.stringify %}

Class methods

line_intersects_plane(plane_point : PF2d::Vec3(Float64), plane_normal : PF2d::Vec3(Float64), line_start : PF2d::Vec3(Float64), line_end : PF2d::Vec3(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

Source

Nested types