Okay, there is something wrong with the angle, that the distance to the middlepoint of the radar rotates. The radar is rotating with your airplane.
The distance is correct, but the angle is wrong. Didn't I use vec_rotate correctly?