ray:: added reset_raycaster_map() function

This commit is contained in:
Zeno Rogue 2021-04-30 19:45:34 +02:00
parent 6e94d7346e
commit 1d2b0cf245
1 changed files with 4 additions and 0 deletions

View File

@ -1682,6 +1682,10 @@ EX void reset_raycaster() {
rots::saved_matrices_ray = {};
}
EX void reset_raycaster_map() {
rmap = nullptr;
}
EX void cast() {
// may call itself recursively in case of bugs -- just in case...
dynamicval<int> dn(nesting, nesting+1);