• Home
  • Raw
  • Download

Lines Matching refs:normalized

80   q1 = AngleAxisx(a, v0.normalized());  in quaternion()
81 q2 = AngleAxisx(a, v1.normalized()); in quaternion()
112 && (aa.axis() - v1.normalized()).norm() < 1.99 in quaternion()
113 && (aa.axis() + v1.normalized()).norm() < 1.99) in quaternion()
119 VERIFY_IS_APPROX( v2.normalized(),(q2.setFromTwoVectors(v1, v2)*v1).normalized()); in quaternion()
120 VERIFY_IS_APPROX( v1.normalized(),(q2.setFromTwoVectors(v1, v1)*v1).normalized()); in quaternion()
121 VERIFY_IS_APPROX(-v1.normalized(),(q2.setFromTwoVectors(v1,-v1)*v1).normalized()); in quaternion()
125 VERIFY_IS_APPROX( v3.normalized(),(q2.setFromTwoVectors(v1, v3)*v1).normalized()); in quaternion()
126 VERIFY_IS_APPROX(-v3.normalized(),(q2.setFromTwoVectors(v1,-v3)*v1).normalized()); in quaternion()
130 VERIFY_IS_APPROX( v2.normalized(),(Quaternionx::FromTwoVectors(v1, v2)*v1).normalized()); in quaternion()
131 VERIFY_IS_APPROX( v1.normalized(),(Quaternionx::FromTwoVectors(v1, v1)*v1).normalized()); in quaternion()
132 VERIFY_IS_APPROX(-v1.normalized(),(Quaternionx::FromTwoVectors(v1,-v1)*v1).normalized()); in quaternion()
136 VERIFY_IS_APPROX( v3.normalized(),(Quaternionx::FromTwoVectors(v1, v3)*v1).normalized()); in quaternion()
137 VERIFY_IS_APPROX(-v3.normalized(),(Quaternionx::FromTwoVectors(v1,-v3)*v1).normalized()); in quaternion()
154 q1 = AngleAxisx(a, v0.normalized()); in quaternion()
155 q2 = AngleAxisx(b, v1.normalized()); in quaternion()
158 q1 = AngleAxisx(b, v1.normalized()); in quaternion()
159 q2 = AngleAxisx(b+Scalar(M_PI), v1.normalized()); in quaternion()
162 q1 = AngleAxisx(b, v1.normalized()); in quaternion()
163 q2 = AngleAxisx(-b, -v1.normalized()); in quaternion()
166 q1.coeffs() = Vector4::Random().normalized(); in quaternion()
196 mq1 = AngleAxisx(a, v0.normalized()); in mapQuaternion()