Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this a typo, or I miss understand. #956

Open
rotal opened this issue Nov 13, 2017 · 2 comments
Open

Is this a typo, or I miss understand. #956

rotal opened this issue Nov 13, 2017 · 2 comments

Comments

@rotal
Copy link

rotal commented Nov 13, 2017

in file examples/mtlPtexViewer/mtlPtexViewer.mm
/////////////////////////////
#if TARGET_OS_EMBEDDED
shaderBuilder << "#define OSD_UV_CORRECTION if(t > 0.5){ ti += 0.01f; } else { ti += 0.01f; }\n";
#endif
//////////////////////////////
Do you mean?
//////////////////////////////
if(t > 0.5){ ti -= 0.01f; } else { ti += 0.01f; }
///////////////////////////////

@davidgyu
Copy link
Member

You may be right, taking a look...

@jtran56
Copy link

jtran56 commented Nov 16, 2017

Filed as internal issue #153938.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants