public float norm() {
        return w * w + x * x + y * y + z * z;
    }
Returns the norm, defined as the dot product of the quaternion with
itself. The current instance is unaffected.

@return the sum of the squared components (not negative)
jme3-core/src/main/java/com/jme3/math/Quaternion.java