Ported plane3d.d