surface.DrawTexturedRectRotated
Example
A function that allows you to override the origin of rotation.
x0 and y0 are relative to the center of the rectangle.
Example
Draws a simple red forever rotating box.
Draw a textured rotated rectangle with the given position and dimensions and angle on the screen, using the current active texture.
This means that it will only work in 2d Rendering Hooks.
A function that allows you to override the origin of rotation.
x0 and y0 are relative to the center of the rectangle.
Draws a simple red forever rotating box.