linear ~master (2021-10-13T18:21:11Z)
Dub
Repo
opBinaryImpl
math
linear
vector
Undocumented in source. Be warned that the author may not have intended to support it.
auto
opBinaryImpl
(Vec!(T, size) a, Vec!(U, size) b)
auto
opBinaryImpl
(Vec!(T, size) a, U[size] b)
auto
opBinaryImpl
(T[size] a, Vec!(U, size) b)
auto
opBinaryImpl
(
string
op
size_t
size
T
U
)
(
const
T
[
size
]
a
,
const
Vec
!(
U
,
size
)
b
)
if
(
__traits(
compiles
, mixin ("rvalueOf!T" ~
op
~ "rvalueOf!U"))
)
Meta
Source
See Implementation
math
linear
vector
aliases
Vec2
Vec3
Vec4
functions
abs
cross
distance
dot
inverse
invert
magnitude
magnitudeSquared
normalize
normalized
opBinaryImpl
opBinaryImpl1
opOpAssignImpl
rotate
vec
structs
Vec
templates
vecMap