Browse Source

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

zzuegg 2 months ago
parent
commit
726ea52143
1 changed files with 2 additions and 3 deletions
  1. 2 3
      jme3-core/src/main/java/com/jme3/scene/Spatial.java

+ 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
         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;
 
         //Third option is to temporarily change the parent's quaternion. More expensive then option 2,