NAME
====
  vg_sprite_rotate() - rotate a sprite


SYNOPSIS
========
  sprite * vg_sprite_rotate(sprite * spt, int degr)


DESCRIPTION
===========
  The passed sprite spt is rotated at degr degrees (-360 to 360),
  which means that all bitmaps of this sprite are rotated.

  Then the modified sprite spt is returned.
  This is another behaviour than vg_bitmap_rotate() shows, which leaves
  the passed bitmap untouched and returns a new static rotated bitmap.


RETURN VALUE
============
  If it succeeds, a pointer to the rotated 1.parameter is returned.
  If an error occurs, NULL is returned, an error message is printed to stderr.


SEE ALSO
========
  Index
  Understanding sprites
  vg_sprite_createnew()
  vg_sprite_createfromfile()
  vg_sprite_add()
  vg_sprite_duplicate()
  vg_sprite_zoom()
  vg_sprite_mirror()
  vg_sprite_getnext()
  vg_sprite_getcurrent()
  vg_sprite_reset()
  vg_sprite_free()