bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Vector.uv
bettercmath
vector
Vector
Get a reference to the first and second elements.
alias
xy
=
_slice
!(
0
,
2
)
alias
rg
=
xy
alias
uv
=
xy
struct
Vector
(T, uint N)
static if
(
N >= 2
)
alias
uv
=
xy
alias
st
=
xy
Meta
Source
See Implementation
bettercmath
vector
Vector
aliases
ElementType
a
b
ba
depth
g
gb
gba
height
p
pq
q
r
rg
rgb
rgba
s
st
stp
stpq
t
tp
tpq
u
uv
v
w
width
x
xy
xyz
xyzw
y
yz
yzw
z
zeroes
zw
constructors
this
functions
_get
_slice
opBinary
opBinaryRight
opCast
opOpAssign
opUnary
manifest constants
dimension
variables
elements
ones
zeros
Get a reference to the first and second elements.