Browse Source

Fixed some typo in some comments in Material.java

Nehon 10 năm trước cách đây
mục cha
commit
963c3d7e61
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      jme3-core/src/main/java/com/jme3/material/Material.java

+ 2 - 2
jme3-core/src/main/java/com/jme3/material/Material.java

@@ -887,10 +887,10 @@ public class Material implements CloneableSmartAsset, Cloneable, Savable {
                 case Directional:
                     DirectionalLight dl = (DirectionalLight) l;
                     Vector3f dir = dl.getDirection();
-                    //FIXME : there is an inconstencie here due to backward 
+                    //FIXME : there is an inconstency here due to backward 
                     //compatibility of the lighting shader.
                     //The directional light direction is passed in the 
-                    //LightPosition uniform. The lightinf shader needs to be 
+                    //LightPosition uniform. The lighting shader needs to be 
                     //reworked though in order to fix this.
                     tmpLightPosition.set(dir.getX(), dir.getY(), dir.getZ(), -1);
                     lightPos.setValue(VarType.Vector4, tmpLightPosition);