b2dSetRotation

Sets current rotation angle for 2D overlay images (degrees, affects image drawing). Takes angle (rotation angle in degrees, 0=no rotation, 90=quarter turn, 180=half turn, 360=full rotation, converted to radians internally). Returns nothing.

2D Overlay

Parameters & Returns

Parameters

angle Double

Returns

Void

Quick Summary

Sets current rotation angle for 2D overlay images (degrees, affects image drawing). Takes angle (rotation angle in degrees, 0=no rotation, 90=quarter turn, 180=half turn, 360=full rotation, converted to radians internally). Returns nothing.

Technical Exegesis...

Sets current rotation angle for 2D overlay images (degrees, affects image drawing). Takes angle (rotation angle in degrees, 0=no rotation, 90=quarter turn, 180=half turn, 360=full rotation, converted to radians internally). Returns nothing. Sets g_currentState.rotation (stores in radians, angle * pi / 180, persists until changed).

Example

Example.bam
; No example implemented yet