bettercmath v0.2.0 (2020-12-28T03:15:07Z)
Dub
Repo
cross
bettercmath
vector
Returns the cross product between two 3D Vectors.
@
safe
@
nogc
nothrow pure
Vector
!(
T
, 3)
cross
(
T
)
(
const
auto
ref
Vector
!(
T
, 3)
a
,
const
auto
ref
Vector
!(
T
, 3)
b
)
Meta
Source
See Implementation
bettercmath
vector
enums
isVector
functions
cross
dot
magnitude
magnitudeSquared
map
normalize
normalized
reflect
vector
structs
Vector
Returns the cross product between two 3D Vectors.