copy method

  1. @override
Object3D copy(
  1. Object3D source, [
  2. bool? recursive
])
override

Implementation

@override
Object3D copy(Object3D source, [bool? recursive]) {
  if (source is RenderableVertex) {
    positionWorld.copy(source.positionWorld);
    positionScreen.copy(source.positionScreen);
  }
  return source;
}