module PF3d

Defined in:

pf3d.cr
pf3d/camera.cr
pf3d/depth_buffer.cr
pf3d/mesh.cr
pf3d/projector.cr
pf3d/transform.cr
pf3d/tri.cr

Constant Summary

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

Class Method Summary

Class Method Detail

def self.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


[View source]