applyNormalMatrix method

  1. @override
InterleavedBufferAttribute applyNormalMatrix(
  1. dynamic m
)
override

Implementation

@override
InterleavedBufferAttribute 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;
}