Browse Source

Formatted multiline method call in `Spatial` for improved readability.

zzuegg 2 tháng trước cách đây
mục cha
commit
726ea52143

+ 2 - 3
jme3-core/src/main/java/com/jme3/scene/Spatial.java

@@ -1007,9 +1007,8 @@ public abstract class Spatial implements Savable, Cloneable, Collidable,
 
 
         //Second option is to normalize manually
         //Second option is to normalize manually
         float norm = rotation.norm();
         float norm = rotation.norm();
-        store.multLocal(
-                rotation.getX()*-norm, rotation.getY()*-norm,
-                rotation.getZ()*-norm, rotation.getW()*norm);
+        store.multLocal(rotation.getX()*-norm, rotation.getY()*-norm,
+                        rotation.getZ()*-norm, rotation.getW()*norm);
         return store;
         return store;
 
 
         //Third option is to temporarily change the parent's quaternion. More expensive then option 2,
         //Third option is to temporarily change the parent's quaternion. More expensive then option 2,