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

use scene.background in webgl_nearestneighbour example #11413

Merged
merged 5 commits into from
May 30, 2017

Conversation

aardgoose
Copy link
Contributor

use scene.background and a CubeTexture instead of a manually made skybox.
whitespace fixes.

@@ -182,51 +187,58 @@
controls.handleResize();
}

function animate() {
function animate () {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the code cleanup, but according to mrdoobapproves and this comment, the whitespace pattern should be one of:

function animate() {

}

var animate = function () {

};

@aardgoose
Copy link
Contributor Author

fixed I think, unless I've missed something else.

@Mugen87
Copy link
Collaborator

Mugen87 commented May 30, 2017

The variables geometry, mesh and objects are never used and can be removed.

see here and here

@mrdoob mrdoob merged commit 388e95d into mrdoob:dev May 30, 2017
@mrdoob
Copy link
Owner

mrdoob commented May 30, 2017

Thanks!

@aardgoose aardgoose deleted the background-skybox branch May 30, 2017 20:34
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

Successfully merging this pull request may close these issues.

4 participants