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)
struct
Ray
(T, int N)
const
static if
(
N == 3 && isFloatingPoint!T
)
bool
intersect
(
Triangle
!(
T
, 3)
triangle
,
out
T
t
,
out
T
u
,
out
T
v
)
if
(
N
== 2 ||
N
== 3
)
bool
intersect
(Plane!T plane, PointType intersection, T distance)
Meta
Source
See Implementation
liberty
math
shapes
Ray
aliases
PointType
functions
intersect
progress
variables
direction
origin