adding rotated as camera data parameter