linear ~master (2021-10-13T18:21:11Z)
Dub
Repo
opBinaryImpl1
math
linear
vector
Undocumented in source. Be warned that the author may not have intended to support it.
auto
opBinaryImpl1
(Vec!(T, size) a, U b)
auto
opBinaryImpl1
(T a, Vec!(U, size) b)
auto
opBinaryImpl1
(
string
op
size_t
size
T
U
)
(
const
T
a
,
const
Vec
!(
U
,
size
)
b
)
if
(
__traits(
compiles
, mixin ("rvalueOf!T" ~
op
~ "rvalueOf!U")) &&
!__traits(
compiles
, mixin ("opBinaryImpl!\"" ~
op
~ "\"(rvalueOf!T, 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