Polygon that takes up the entire window. More...
#include <Fullscreen.hpp>
Public Member Functions | |
Fullscreen (const Tag &tag) | |
virtual void | draw () const |
Protected Member Functions | |
virtual void | initCoordinates () |
virtual void | initIndices () |
virtual void | initPoints () |
Static Private Attributes | |
static bool | loaded = false |
static GLfloat | coordinates [4][3] |
static GLfloat | points [4][3] |
static GLubyte | indices [4] |
Polygon that takes up the entire window.
Fullscreen | ( | const Tag & | tag | ) |
Creates a new Fullscreen from an XML tag.
void draw | ( | ) | const [virtual] |
Draws the Fullscreen.
Implements SimpleDrawable.
void initCoordinates | ( | ) | [protected, virtual] |
Initializes the static coordinates array of the class.
void initIndices | ( | ) | [protected, virtual] |
Initializes the static indices array of the class.
void initPoints | ( | ) | [protected, virtual] |
Initializes the static points array of the class.