D | Quaternion.java | 48 private static double[] normal(double[] a) { in normal() method in Quaternion 54 double[] vec1 = normal(v1); in set() 55 double[] vec2 = normal(v2); in set() 56 double[] axis = normal(cross(vec1, vec2)); in set() 62 double[] vec1 = normal(v1); in calcAngle() 63 double[] vec2 = normal(v2); in calcAngle() 68 double[] vec1 = normal(v1); in calcAxis() 69 double[] vec2 = normal(v2); in calcAxis() 70 return normal(cross(vec1, vec2)); in calcAxis()
|