class
#include <bn_sprite_affine_mat_actions.h>
sprite_affine_mat_rotation_manager Manages the rotation angle of a sprite_
Public static functions
-
static auto get(const sprite_
affine_ mat_ ptr& affine_mat) -> fixed - Returns the rotation angle of the given sprite_
affine_ mat_ ptr. -
static void set(fixed rotation_angle,
sprite_
affine_ mat_ ptr& affine_mat) - Sets the rotation angle of the given sprite_
affine_ mat_ ptr.
Function documentation
static void bn:: sprite_affine_mat_rotation_manager:: set(fixed rotation_angle,
sprite_ affine_ mat_ ptr& affine_mat)
Sets the rotation angle of the given sprite_
Parameters | |
---|---|
rotation_angle | Rotation angle in degrees, in the range [0..360]. |
affine_mat | sprite_ |