|
|
@@ -626,8 +626,8 @@ Add an link:http://netbeans.dzone.com/tips/obfuscating-netbeans-java-appl[obfusc
|
|
|
Many maths functions (mult(), add(), subtract(), etc) come as local and a non-local variant (multLocal(), addLocal(), subtractLocal(), etc).
|
|
|
|
|
|
. Non-local means a new independent object is created (similar to clone()) as a return value. Use non-local methods if you want to keep using the old value of the object calling the method.
|
|
|
-** Example 1: `<<jme3/rotate.html#,Quaternion>> q1 = q2.mult(q3);`
|
|
|
-*** Returns the result as a new Quaternion q1.
|
|
|
+** Example 1: `Quaternion q1 = q2.mult(q3);`
|
|
|
+*** Returns the result as a new <<jme3/rotate.html#,Quaternion>> q1.
|
|
|
*** The involved objects q2 and q3 stay as they are and can be reused.
|
|
|
|
|
|
** Example 2: `v.mult(b).add(b);` emoji:
|