km-engine ~master (2022-05-09T12:27:43.0681511)
Dub
Repo
Ray
engine
math
A basic ray
struct
Ray {
vec3
origin
;
vec3
direction
;
string
toString
();
}
Members
Functions
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
direction
vec3
direction
;
Direction of the ray (unit vector)
origin
vec3
origin
;
Origin of the ray
Meta
Source
See Implementation
engine
math
modules
camera
obb
transform
functions
castScreenSpaceRay
dampen
isRayIntersecting
structs
Ray
A basic ray