turtle ~master (2021-08-23T10:45:39Z)
Dub
Repo
Ray
ray
Undocumented in source.
struct
Ray {
nothrow
enum
int
N
;
alias
T
=
float
;
alias
point_t
=
vec3f
;
nothrow
point_t
orig
;
nothrow
point_t
dir
;
point_t
progress
(T t);
bool
intersectTriangle
(vec3f A, vec3f B, vec3f C, T t, T u, T v);
}
Members
Aliases
T
alias
T
=
float
Undocumented in source.
point_t
alias
point_t
=
vec3f
Undocumented in source.
Functions
intersectTriangle
bool
intersectTriangle
(vec3f A, vec3f B, vec3f C, T t, T u, T v)
Ray vs triangle intersection.
progress
point_t
progress
(T t)
Variables
N
enum
int
N
;
Undocumented in source.
dir
point_t
dir
;
Undocumented in source.
orig
point_t
orig
;
Undocumented in source.
Meta
Source
See Implementation
ray
functions
_mm_crossproduct_ps
_mm_dot_ps
_mm_intersectQuad
intersectVOX
voxelTraversal
structs
Ray