# RotateCameraGlobalY

## Description

Rotates the specified camera around global Y axis. Imagine looking at the camera as if it were an object positioned at 0,0,0 looking in a random direction. This command would turn it around the fixed Y axis, the one which is used to define the positions of everything in the world.

## Definition

RotateCameraGlobalY( cameraID, amount )

void agk::RotateCameraGlobalY( UINT cameraID, float amount )

## Parameters

- cameraID - The ID of the camera to modify, the main camera is ID 1.
- amount - The angle to rotate on the global Y axis in degrees, positive turns right, negative turns left.