OpenMW
|
#include <imagerotate.hpp>
Static Public Member Functions | |
static void | rotate (const std::string &sourceImage, const std::string &destImage, const float angle) |
Rotate an image by certain degrees and save as file, uses the GPU Make sure Ogre Root is initialised before calling
void ImageRotate::rotate | ( | const std::string & | sourceImage, |
const std::string & | destImage, | ||
const float | angle | ||
) | [static] |
source | image (file name - has to exist in an resource group) |
name | of the destination texture to save to (in memory) |
angle | in degrees to turn |