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
threejs-miniprogram/example/test-cases/model.js
Line 45 in 5c4964e
The text was updated successfully, but these errors were encountered:
No branches or pull requests
threejs-miniprogram/example/test-cases/model.js
Line 45 in 5c4964e
经实验,在pixelRatio大于1时,renderer.setPixelRatio会改变canvas尺寸,之后再调用renderer.setSize(canvas.width, canvas.height)会导致canvas尺寸再次变大。具体表现之一为视角旋转变慢。
交换两行,先setSize后setPixelRatio可以解决
The text was updated successfully, but these errors were encountered: