Browse Source

Clean up unused variables in `TextureEditor`

master
Krisjanis Rijnieks 9 years ago
parent
commit
4c63db5ef0
  1. 6
      src/UserInterface/TextureEditor.cpp

6
src/UserInterface/TextureEditor.cpp

@ -76,12 +76,6 @@ void TextureEditor::update(ofEventArgs & args){
int rows = s->getGridRows();
int cols = s->getGridCols();
int vertsPerRow = cols + 1;
int vertsPerCol = rows + 1;
int a = 0;
int b = cols;
int c = (rows * vertsPerRow) + (vertsPerRow - 1);
int d = (rows * vertsPerRow);
// Distance between horizontal tex coords
float sx = joints[0]->position.x / textureSize.x;

Loading…
Cancel
Save