angle

fun angle(direction: Char): Boolean

Changes the yaw (angle) of the camera.

Return

true if the camera was rotated to the angle; otherwise false

Parameters

direction

the direction to set the camera, 'n', 's', 'w', 'e'. \

fun angle(degrees: Int): Boolean

Changes the yaw (angle) of the camera.

Return

true if the camera was rotated to the angle; otherwise false

Parameters

degrees

the degrees to set the camera to