Moved Point2 from visualizer/types.rs to core/types.rs