![]() |
PROTO::KLUDGE
0.1
Quick prototyping library for games using SDL and OpenGL.
|
#include <GLDrawable.hpp>
Public Member Functions | |
GLDrawable () | |
virtual | ~GLDrawable () |
virtual void | draw (GLStates &states)=0 |
Draw the OpenGL drawable object. More... | |
pk::GLDrawable::GLDrawable | ( | ) |
|
virtual |
|
pure virtual |
Draw the OpenGL drawable object.
GLStates | &states - a reference to the current OpenGL states used for rendering. |
Implemented in pk::GLSprite, pk::RectangleShape, pk::TriangleShape, and pk::Mesh.