bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Vector.rgba
bettercmath
vector
Vector
Get a reference to the first, second, third and fourth elements.
alias
xyzw
=
_slice
!(
0
,
4
)
alias
rgba
=
xyzw
struct
Vector
(T, uint N)
static if
(
N >= 4
)
alias
rgba
=
xyzw
alias
stpq
=
xyzw
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, second, third and fourth elements.