https://arbital.com/p/3d_coordinate_geometry