Lines Matching refs:rv
1490 * @param rv the rotation vector to convert1493 public static void getQuaternionFromVector(float[] Q, float[] rv) {1494 if (rv.length >= 4) {1495 Q[0] = rv[3];1497 Q[0] = 1 - rv[0]*rv[0] - rv[1]*rv[1] - rv[2]*rv[2];1500 Q[1] = rv[0];1501 Q[2] = rv[1];1502 Q[3] = rv[2];