copyAt method
Copies data from attribute[index2]
to arrayindex1
.
Implementation
InterleavedBuffer copyAt(int index1, InterleavedBuffer attribute, int index2) {
index1 *= stride;
index2 *= attribute.stride;
for (int i = 0, l = stride; i < l; i++) {
array[index1 + i] = attribute.array[index2 + i];
}
return this;
}