km-engine v0.5.0 (2020-08-08T12:12:50Z)
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