applyNormalMatrix method

BufferAttribute<NativeArray<num>> applyNormalMatrix(
  1. dynamic m
)

Implementation

BufferAttribute applyNormalMatrix(m) {
  for (var i = 0, l = count; i < l; i++) {
    _vector.fromBufferAttribute( this, i );

    _vector.applyNormalMatrix(m);

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

  return this;
}