OpenMW
Static Public Member Functions
OEngine::Render::ImageRotate Class Reference

#include <imagerotate.hpp>

List of all members.

Static Public Member Functions

static void rotate (const std::string &sourceImage, const std::string &destImage, const float angle)

Detailed Description

Rotate an image by certain degrees and save as file, uses the GPU Make sure Ogre Root is initialised before calling


Member Function Documentation

void ImageRotate::rotate ( const std::string &  sourceImage,
const std::string &  destImage,
const float  angle 
) [static]
Parameters:
sourceimage (file name - has to exist in an resource group)
nameof the destination texture to save to (in memory)
anglein degrees to turn

The documentation for this class was generated from the following files: