提交 4e421126 编写于 作者: F Fernando Serrano

Fix lint issues and some minor changes

上级 2f61505f
......@@ -85,7 +85,7 @@
var geometry = new THREE.IcosahedronBufferGeometry( radius );
for ( var i = 0; i < 5000; i ++ ) {
for ( var i = 0; i < 20000; i ++ ) {
var object = new THREE.Mesh( geometry, new THREE.MeshLambertMaterial( { color: Math.random() * 0xffffff } ) );
......
......@@ -81,7 +81,7 @@ function WebGLRenderer( parameters ) {
* Enables error checking and reporting when shader programs are being compiled
* @type {boolean}
*/
checkShaderErrors: false
checkShaderErrors: true
};
// clearing
......
......@@ -52,7 +52,7 @@ function WebGLMultiview( renderer, gl, contextAttributes ) {
function isAvailable() {
return capabilities.multiview && !contextAttributes.antialias;
return capabilities.multiview && ! contextAttributes.antialias;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册