Skip to content

Commit

Permalink
fixed typo: resX => resY
Browse files Browse the repository at this point in the history
  • Loading branch information
erichocean committed Dec 31, 2012
1 parent ff7a56e commit 2faa5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vertexcm.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ private:

// Determine pixel (x, y)
const int x = aPixelIndex % resX;
const int y = aPixelIndex / resX;
const int y = aPixelIndex / resY;

// Jitter pixel position
const Vec2f sample = Vec2f(float(x), float(y)) + mRng.GetVec2f();
Expand Down

0 comments on commit 2faa5f2

Please sign in to comment.