Replaced rotation object with simple floats.