pp v0.0.52 (2019-04-12T13:41:01Z)
Dub
Repo
RayT.Normalize
polyplex
math
glmath
geometry
RayT
Returns a ray with a normalized ray direction
struct
RayT
(VT)
pure nothrow
RayT
!
VT
Normalize
(
)
if
(
is
(
VT
==
float2
) ||
is
(
VT
==
float3
)
)
Meta
Source
See Implementation
polyplex
math
glmath
geometry
RayT
aliases
VectorType
constructors
this
functions
Normalize
variables
dir
ori
Returns a ray with a normalized ray direction