Commit fba79425 authored by michael's avatar michael

No commit message

No commit message
parent 087dd50d
......@@ -106,7 +106,7 @@ LrColor LrPertColorTexture::getColor(Real u, Real v, LrPoint &point) const
//int numL=1+((int)((m_ImageTexture.getHeight()-1)*v));
int numC=1+((int)((m_ImageTexture.getWidth()-1)*(1-u)));
int numL=1+((int)((m_ImageTexture.getHeight()-1)*(1-v)));
int numL=1+((int)((m_ImageTexture.getHeight()-1)*(v)));
return m_ImageTexture.getPixel(numL,numC);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment