km-engine v0.5.0 (2020-08-08T12:12:50Z)
Dub
Repo
castScreenSpaceRay
engine
math
Casts a screen space ray from the mouse position
Ray
castScreenSpaceRay
(
vec2
mouse
,
vec2
viewSize
,
mat4
vp
)
Meta
Source
See Implementation
engine
math
modules
camera
obb
transform
functions
castScreenSpaceRay
dampen
isRayIntersecting
structs
Ray
Casts a screen space ray from the mouse position