gl3n ~master (2021-06-11T06:55:56Z)
Home
Dub
Repo
cross
gl3n
linalg
Calculates the cross product of two 3-dimensional vectors.
@
safe
pure nothrow
T
cross
(
T
)
(
const
T
veca
,
const
T
vecb
)
if
(
is_vector
!
T
&&
(
T.dimension
== 3
)
)
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
Calculates the cross product of two 3-dimensional vectors.