Skip to content

Commit 726ea52

Browse files
committed
Formatted multiline method call in Spatial for improved readability.
1 parent 3048352 commit 726ea52

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

jme3-core/src/main/java/com/jme3/scene/Spatial.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,9 +1007,8 @@ public Quaternion worldToLocal(final Quaternion in, Quaternion store){
10071007

10081008
//Second option is to normalize manually
10091009
float norm = rotation.norm();
1010-
store.multLocal(
1011-
rotation.getX()*-norm, rotation.getY()*-norm,
1012-
rotation.getZ()*-norm, rotation.getW()*norm);
1010+
store.multLocal(rotation.getX()*-norm, rotation.getY()*-norm,
1011+
rotation.getZ()*-norm, rotation.getW()*norm);
10131012
return store;
10141013

10151014
//Third option is to temporarily change the parent's quaternion. More expensive then option 2,

0 commit comments

Comments
 (0)