Static
Readonly
MAXStatic
Readonly
MINStatic
Readonly
ONEStatic
Readonly
X_Static
Readonly
Y_Static
Readonly
ZEROStatic
Readonly
Z_Returns true
if this value equals o
with optional allowance for given tolerance eps
.
2nd value to test
tolerance (usually defaults to DEFAULT_EPS
)
Static
intoMerges given src
iterable of Vec4s into single array buf
. Vectors will be arranged according to given component and element strides, starting at start
index. It's the user's responsibility to ensure the target buffer has sufficient capacity to hold the input vectors. See Vec4.mapBuffer
for the inverse operation. Returns buf
.
Static
iteratorStatic
mapReturns array of memory mapped Vec4 instances using given backing array and stride settings: The cstride
is the step size between individual XYZ vector components. estride
is the step size between successive vectors. This arrangement allows for different storage approaches, incl. SOA, AOS, striped / interleaved etc.
backing array
num vectors
start index
component stride
element stride
Generated using TypeDoc
Returns a copy of this instance. Shallow or deep copies are implementation specific.