bettercmath v0.2.0 (2020-12-28T03:15:07Z)
Dub
Repo
Vector.xy
bettercmath
vector
Vector
Get a reference to the first and second elements.
struct
Vector
(T, uint N)
pure
static if
(
N > 2
)
alias
xy
=
_slice
!(0, 2)
Meta
Source
See Implementation
bettercmath
vector
Vector
aliases
ElementType
a
b
ba
g
gb
gba
p
pq
q
r
rg
rgb
s
st
stp
t
tp
tpq
u
uv
v
w
x
xy
xyz
y
yz
yzw
z
zeroes
zw
constructors
this
functions
opBinary
opBinaryRight
opCast
opOpAssign
opUnary
manifest constants
dimension
variables
elements
ones
zeros
Get a reference to the first and second elements.