setW method
Sets the w component of the vector at the given index.
Implementation
BufferAttribute setW(int index, double w) {
array[index * itemSize + 3] = w;
return this;
}
Sets the w component of the vector at the given index.
BufferAttribute setW(int index, double w) {
array[index * itemSize + 3] = w;
return this;
}