Rotate 2d bitmap
Posted: Thu May 05, 2005 3:40 pm
Hi,
I want to rotate a bitmap, which has been loaded, using getTexture, now I want to rotate it. I found this in the help, but I don't know, how to use it...
"
template<class T>
void irr::core::vector2d< T >::rotateBy ( f64 degrees,
const vector2d< T > & center
) [inline]
rotates the point around a center by an amount of degrees.
"
The image has been loaded to rotate_BMP.
Does anyone know, how to rotate it?
Thanks!!!
I want to rotate a bitmap, which has been loaded, using getTexture, now I want to rotate it. I found this in the help, but I don't know, how to use it...
"
template<class T>
void irr::core::vector2d< T >::rotateBy ( f64 degrees,
const vector2d< T > & center
) [inline]
rotates the point around a center by an amount of degrees.
"
The image has been loaded to rotate_BMP.
Does anyone know, how to rotate it?
Thanks!!!