sarbian / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 1 forks source link

FloatImage.cpp mirror incorrect #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
FloatImage.cpp mirror() does a loop setting "x = 2 * w - x - 2;". That can 
return out-of-bounds values, e.g. mirror(1,1) == -1. The computation should be 
more like FloatImage::indexMirror.

Original issue reported on code.google.com by exc...@gmail.com on 6 Sep 2010 at 8:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1146.

Original comment by cast...@gmail.com on 7 Sep 2010 at 6:08

GoogleCodeExporter commented 9 years ago
Thanks for the bug report!

Original comment by cast...@gmail.com on 7 Sep 2010 at 6:09