km-engine v0.5.0 (2020-08-08T12:12:50Z)
Dub
Repo
isRayIntersecting
engine
math
Gets whether a ray is intersecting a bounding box
bool
isRayIntersecting
(
OBB
boundingBox
,
Ray
ray
,
mat4
modelmatrix
,
ref
float
iDist
)
Meta
Source
See Implementation
engine
math
modules
camera
obb
transform
functions
castScreenSpaceRay
dampen
isRayIntersecting
structs
Ray
Gets whether a ray is intersecting a bounding box