logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rotate_sprite_v_flip - Rotates and flips a sprite. Allegro game programming library.

Description

       Like  rotate_sprite,  but  flips  the image vertically before rotating it. To flip horizontally, use this
       routine but add itofix(128) to the angle. To  flip  in  both  directions,  use  rotate_sprite()  and  add
       itofix(128) to its angle.

Name

       rotate_sprite_v_flip - Rotates and flips a sprite. Allegro game programming library.

See Also

rotate_sprite(3alleg4),        rotate_scaled_sprite_v_flip(3alleg4),        pivot_sprite_v_flip(3alleg4),
       pivot_scaled_sprite_v_flip(3alleg4), exsprite(3alleg4)

Allegro                                           version 4.4.3                    rotate_sprite_v_flip(3alleg4)

Synopsis

#include<allegro.h>voidrotate_sprite_v_flip(BITMAP*bmp,BITMAP*sprite,intx,inty,fixedangle);

See Also