rotate

fun rotate(theta: double, x: double, y: double)