Rotation-wise the laser needs to be flipped so you could try inverting the rotation i.e. return -rotationAmount;
For a better understanding of how the laser reacts to different positions, try clicking on points all the way around the emitter ("tank") - not just horizontal and diagonals - and also different distances from it.