gl3n ~master (2021-06-11T06:55:56Z)
Home
Dub
Repo
reflect
gl3n
linalg
reflect a vector using a surface normal
@
safe
pure nothrow
T
reflect
(
T
)
(
const
T
vec
,
const
T
norm
)
if
(
is_vector
!
T
)
Meta
Source
See Implementation
gl3n
linalg
aliases
mat2
mat3
mat34
mat4
quat
vec2
vec2d
vec2i
vec3
vec3d
vec3i
vec4
vec4d
vec4i
functions
cross
distance
dot
reflect
structs
Matrix
Quaternion
Vector
reflect a vector using a surface normal