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
In:【 learning-threejs/chapter-01/02-first-scene.html 】
the method setClearColorHex() has changed to setClearColor() ?
The text was updated successfully, but these errors were encountered:
Correct... the book gets odd in that area, as later snippets in the book show
(page 16) renderer.setClearColorHex() renderer.setClearColor(new THREE.Color(0xEEEEEE));
which is also hosed.
The correct line is:
renderer.setClearColor(new THREE.Color(0xEEEEEE, 1.0));
Sorry, something went wrong.
renderer.setClearColor(0xEEEEEE, 1) also works. I didn't need to use THREE.Color at all.
No branches or pull requests
In:【 learning-threejs/chapter-01/02-first-scene.html 】
the method setClearColorHex() has changed to setClearColor() ?
The text was updated successfully, but these errors were encountered: