|
PSYQo
|
#include <primitives.hh>
Public Member Functions | |
| Sprite (Color c) | |
| void | setColor (Color c) |
Public Attributes | |
| Vertex | position |
| TexInfo | texInfo |
| Vertex | size |
The Sprite primitive.
This primitive will draw a sprite of arbitrary size. The position member describes the location within the screen where the sprite will be blitted. The texInfomember indicates where the source sprite is blitted from, and the size member specifies actual sprite size to blit.
The texture information needs to be specified with a TPage primitive beforehand.