bettercmath ~master (2021-10-22T22:55:25.7546802)
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
normalize
normalized
reflect
vector
structs
Vector
Returns the cross product between two 3D Vectors.