Skip to content

Commit

Permalink
Better listing of drawSquare in Renderer.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkie committed Feb 25, 2012
1 parent 203b329 commit 1cf015e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/renderer.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ void Badger::Renderer::drawArrays(const float vertices[],
glDisableClientState(GL_NORMAL_ARRAY); glDisableClientState(GL_NORMAL_ARRAY);
} }


void Badger::Renderer::drawSquare(float x, float y, float width, float height, void Badger::Renderer::drawSquare(float x, float y,
double tu, double tv, double tw, double th) { float width, float height,
double tu, double tv,
double tw, double th) {
// square //////////////////////////////////////////////////////////////////// // square ////////////////////////////////////////////////////////////////////
// v1------v0 // v1------v0
// | | // | |
Expand Down

0 comments on commit 1cf015e

Please sign in to comment.