diff options
author | Constantin Riß <constantin.riss@dre.de> | 2010-02-09 23:32:53 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2010-02-09 23:32:53 +0100 |
commit | a0882cb30bd754a25625dfbeb831877bf0ab9ccd (patch) | |
tree | 769897b2b3fa0566b5ef63b0ac913c9f2f440671 | |
parent | e1290a7a045457d514518cfc5f928f613c962765 (diff) | |
download | c3d-a0882cb30bd754a25625dfbeb831877bf0ab9ccd.tar c3d-a0882cb30bd754a25625dfbeb831877bf0ab9ccd.zip |
....;;
-rw-r--r-- | DisplayClass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/DisplayClass.cpp b/DisplayClass.cpp index 70c59cb..4051e20 100644 --- a/DisplayClass.cpp +++ b/DisplayClass.cpp @@ -23,6 +23,8 @@ void DisplayClass::renderScene(unsigned long delta, std::bitset<256>& keys) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + keyhandler(keys); + glLoadIdentity(); // Clean up matrix glTranslatef(0.0, -2.0, -20.0); // Then set up transformation // glRotatef(10, 1.0, 0.0, 0.0); |