David Catuhe vor 6 Jahren
Ursprung
Commit
12411861d7
1 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
  1. 4 5
      src/Materials/babylon.standardMaterial.ts

+ 4 - 5
src/Materials/babylon.standardMaterial.ts

@@ -839,9 +839,9 @@ module BABYLON {
                                 case Texture.CUBIC_MODE:
                                 case Texture.INVCUBIC_MODE:
                                 default:
-                                        defines.setReflectionMode("REFLECTIONMAP_CUBIC");
-                                        break;
-                                }
+                                    defines.setReflectionMode("REFLECTIONMAP_CUBIC");
+                                    break;
+                            }
 
                             defines.USE_LOCAL_REFLECTIONMAP_CUBIC = (<any>this._reflectionTexture).boundingBoxSize ? true : false;
                         }
@@ -1225,8 +1225,7 @@ module BABYLON {
             this.bindOnlyWorldMatrix(world);
 
             // Normal Matrix
-            if (defines.OBJECTSPACE_NORMALMAP)
-            {
+            if (defines.OBJECTSPACE_NORMALMAP) {
                 world.toNormalMatrix(this._normalMatrix);
                 this.bindOnlyNormalMatrix(this._normalMatrix);
             }