consolidating 3D point arrays into a single implementation