Let sprites face different ways depending on which side you look at them from in the raycaster.
spriteY should depend on X not Y
Had forgot to call display() on a RenderTexture object so the display got flipped (this is logical somehow)