We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在cube.cpp,LerpVertex函数中,abs函数的参数为int类型,结果会进行舍入,需要修改为std空间下,如下: if (std::abs(isoLevel - v1) < Eps) return p1; if (std::abs(isoLevel - v2) < Eps) return p2; if (std::abs(v1 - v2) < Eps) return p1; 修改后结果正确。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在cube.cpp,LerpVertex函数中,abs函数的参数为int类型,结果会进行舍入,需要修改为std空间下,如下:
if (std::abs(isoLevel - v1) < Eps) return p1;
if (std::abs(isoLevel - v2) < Eps) return p2;
if (std::abs(v1 - v2) < Eps) return p1;
修改后结果正确。
The text was updated successfully, but these errors were encountered: