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
源代码英文注释中解释relPos是
relPos
The maximum number of occupied cells
其实就是对应变量bbSize的平方:bbSize = std::ceil((sqrt(width * width + length* length) + 4) / cellSize) = ceil(sqrt(1.75^2+2.65^2)+4) = ceil(7.2) = 8
bbSize
bbSize = std::ceil((sqrt(width * width + length* length) + 4) / cellSize)
The text was updated successfully, but these errors were encountered:
你好,请问这里+ 4和/cellSize的物理意义分别是什么呢
Sorry, something went wrong.
No branches or pull requests
源代码英文注释中解释
relPos
是其实就是对应变量
bbSize
的平方:bbSize = std::ceil((sqrt(width * width + length* length) + 4) / cellSize)
= ceil(sqrt(1.75^2+2.65^2)+4) = ceil(7.2) = 8The text was updated successfully, but these errors were encountered: