public float dot(Quaternionf q) {
        return dot(q.x, q.y, q.z, q.w);
    }
public float dot(Quaternionf q) {
        return dot(q.x, q.y, q.z, q.w);
    }
public float dot ( Quaternionf q ) { return dot ( q . x , q . y , q . z , q . w ) ; }
Returns the dot product of this quaternion with another one.

@param q The quaternion to calculate the dot product with
@return The dot product of the two quaternions
Returns the dot product of this quaternion with another one .