This backports the improved RayCast debug drawing functionality from the `master` branch. `ArrayMesh.clear_surfaces()` was also backported from the `master` branch and exposed because the new debug drawing code requires it.
This backports the improved RayCast debug drawing functionality from the `master` branch. `ArrayMesh.clear_surfaces()` was also backported from the `master` branch and exposed because the new debug drawing code requires it.