transformPointsPreDisplay method

List<Vector3> transformPointsPreDisplay(
  1. Mobject mob,
  2. List<Vector3> points
)

Implementation

List<Vector3> transformPointsPreDisplay(Mobject mob, List<Vector3> points) {
  if (!points
      .every((pt) => pt.x.isFinite && pt.y.isFinite && pt.z.isFinite)) {
    points = [ORIGIN];
  }

  return points;
}