applyMatrix4 method
      
void
applyMatrix4(
    
- Matrix4 matrix
 
inherited
    Applies the matrix transform to the geometry.
Implementation
void applyMatrix4(Matrix4 matrix) {
  final position = attributes["position"];
  if (position != null) {
    position.applyMatrix4(matrix);
    position.needsUpdate = true;
  }
  final normal = attributes["normal"];
  if (normal != null) {
    final normalMatrix = Matrix3.identity().getNormalMatrix(matrix);
    normal.applyNormalMatrix(normalMatrix);
    normal.needsUpdate = true;
  }
  final tangent = attributes["tangent"];
  if (tangent != null) {
    tangent.transformDirection(matrix);
    tangent.needsUpdate = true;
  }
  if (boundingBox != null) {
    computeBoundingBox();
  }
  if (boundingSphere != null) {
    computeBoundingSphere();
  }
}