Skip to content
Snippets Groups Projects
Commit f07b0cec authored by Andrews Sobral's avatar Andrews Sobral
Browse files

Update TextureBGS.cpp

the operator () is invoked with arguments (x, y) but in
https://github.com/andrewssobral/bgslibrary/blob/master/package_bgs/dp/Image.h#L322
the operator () assumens (row, colum):
// pixel-level access using image(row, col)
inline unsigned char& operator()(const int r, const int c)
so the correct invocation should have been with (y, x)
parent 46e57f3d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment