liberty-engine ~master (2019-02-13T12:42:06Z)
Dub
Repo
Ray.intersect
liberty
math
shapes
Ray
bool
intersect
(Triangle!(T, 3) triangle, T t, T u, T v)
bool
intersect
(Plane!T plane, PointType intersection, T distance)
struct
Ray
(T, int N)
const
static if
(
N == 3 && isFloatingPoint!T
)
bool
intersect
(
Plane
!
T
plane
,
out
PointType
intersection
,
out
T
distance
)
if
(
N
== 2 ||
N
== 3
)
Meta
Source
See Implementation
liberty
math
shapes
Ray
aliases
PointType
functions
intersect
progress
variables
direction
origin