Skip to content

Commit c677c5e

Browse files
authored
Comment typo
1 parent ba4a896 commit c677c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ AFRAME.registerComponent('environment', {
565565
emissiveMap: this.gridTexture
566566
};
567567

568-
// use .shading for A-Frame < 0.6.0 and .flatShading for A-Frame >= 0.7.0
568+
// use .shading for A-Frame < 0.7.0 and .flatShading for A-Frame >= 0.7.0
569569
if (new THREE.Material().hasOwnProperty('shading')) {
570570
this.groundMaterialProps.shading = this.data.flatShading ? THREE.FlatShading : THREE.SmoothShading;
571571
} else {

0 commit comments

Comments
 (0)