$ 0 0 What do you mean rotated? If you rotate throught the z axis, then just provide different x, y value, you can compute those with an angle feeding into sin and cos.