Browse Source

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

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

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

@@ -1007,7 +1007,9 @@ 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,