Remove duplicate frustum code in `Mirror`
Closed this issue · 3 comments
Firepal commented
The Mirror.gd
and MirrorCamera.gd
scripts share copied code with minimal changes.
To reduce code duplication, we can simply use MirrorCamera
inside of MirrorContainer
and just set that up in the Mirror.gd
script.
Norodix commented
I just realized that MirrorCamera.gd
is dead code that I forgot to delete. No node uses it. Thanks for noticing, I will delete it soon.
Firepal commented
Eh, couldn't find a reason for it to exist either. :]