bn::affine_bg_rotation_manager class

Manages the rotation angle of an affine_bg_ptr.

Contents

Public static functions

static auto get(const affine_bg_ptr& bg) -> fixed
Returns the rotation angle of the given affine_bg_ptr.
static void set(fixed rotation_angle, affine_bg_ptr& bg)
Sets the rotation angle of the given affine_bg_ptr.

Function documentation

static void bn::affine_bg_rotation_manager::set(fixed rotation_angle, affine_bg_ptr& bg)

Sets the rotation angle of the given affine_bg_ptr.

Parameters
rotation_angle Rotation angle in degrees, in the range [0..360].
bg affine_bg_ptr to modify.