applyMatrix4 method

  1. @override
InterleavedBufferAttribute applyMatrix4(
  1. Matrix4 m
)
override

Implementation

@override
InterleavedBufferAttribute applyMatrix4(Matrix4 m) {
  for (var i = 0, l = data!.count; i < l; i++) {
    _vector.fromBufferAttribute(this, i);

    _vector.applyMatrix4(m);

    setXYZ(i, _vector.x, _vector.y, _vector.z);
  }

  return this;
}