Commit 6f3de874 authored by michael's avatar michael

--no commit message

--no commit message
parent fba79425
......@@ -105,8 +105,8 @@ LrColor LrPertColorTexture::getColor(Real u, Real v, LrPoint &point) const
//int numC=1+((int)((m_ImageTexture.getWidth()-1)*u));
//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)*(v)));
int numC=1+((int)((m_ImageTexture.getWidth()-1)*(u)));
int numL=1+((int)((m_ImageTexture.getHeight()-1)*(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