/external/eigen/test/ |
geo_eulerangles.cpp | 18 typedef Matrix<Scalar,3,1> Vector3; 24 q1 = AngleAxisx(a, Vector3::Random().normalized()); 29 Vector3 ea = m.eulerAngles(I,J,K); \ 30 VERIFY_IS_APPROX(m, Matrix3(AngleAxisx(ea[0], Vector3::Unit##X()) * AngleAxisx(ea[1], Vector3::Unit##Y()) * AngleAxisx(ea[2], Vector3::Unit##Z()))); \
|
geo_orthomethods.cpp | 23 typedef Matrix<Scalar,3,1> Vector3; 27 Vector3 v0 = Vector3::Random(), 28 v1 = Vector3::Random(), 29 v2 = Vector3::Random(); 45 Vector3 vec3 = Vector3::Random(); 74 typedef Matrix<Scalar,3,1> Vector3; 92 Vector3 vec3 = Vector3::Random() [all...] |
geo_transformations.cpp | 24 typedef Matrix<Scalar,3,1> Vector3; 38 Vector3 v0 = Vector3::Random(), 39 v1 = Vector3::Random(); 57 VERIFY_IS_APPROX( (t0 * Vector3(1,0,0)).template head<3>().norm(), v0.x()); 95 typedef Matrix<Scalar,3,1> Vector3; 109 Vector3 v0 = Vector3::Random(), 110 v1 = Vector3::Random(); 128 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX() [all...] |
/ndk/tests/build/issue22345-ICE-postreload/jni/ |
issue22345-ICE-postreload.cpp | 22 typedef float32x4_t Vector3; 24 inline Vector3 normalize(const Vector3& v1) { 32 Vector3 result; 38 inline Vector3 cross(const Vector3& v1, const Vector3& v2) { 42 Vector3 result; 48 void _f_with_internal_compiler_error_in_reload_cse_simplify_operands(const math::Vector3& v1, const math::Vector3& v2) [all...] |
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
AngleAxis.h | 58 typedef Matrix<Scalar,3,1> Vector3; 63 Vector3 m_axis; 83 const Vector3& axis() const { return m_axis; } 84 Vector3& axis() { return m_axis; } 107 inline Vector3 operator* (const Vector3& other) const 192 Vector3 sin_axis = ei_sin(m_angle) * m_axis; 194 Vector3 cos1_axis = (Scalar(1)-c) * m_axis;
|
Quaternion.h | 62 typedef Matrix<Scalar,3,1> Vector3; 179 Vector3 operator* (const MatrixBase<Derived>& vec) const; 249 inline typename Quaternion<Scalar>::Vector3 256 // Vector3 as temporaries. 257 Vector3 uv; 340 Vector3 v0 = a.normalized(); 341 Vector3 v1 = b.normalized(); 359 Vector3 axis = v0.cross(v1);
|
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
VarType.java | 39 Vector3,
|
/external/eigen/Eigen/src/Geometry/ |
AngleAxis.h | 61 typedef Matrix<Scalar,3,1> Vector3; 66 Vector3 m_axis; 89 const Vector3& axis() const { return m_axis; } 90 Vector3& axis() { return m_axis; } 134 static inline const AngleAxis Identity() { return AngleAxis(0, Vector3::UnitX()); } 206 Vector3 sin_axis = internal::sin(m_angle) * m_axis; 208 Vector3 cos1_axis = (Scalar(1)-c) * m_axis;
|
Quaternion.h | 51 typedef Matrix<Scalar,3,1> Vector3; 168 EIGEN_STRONG_INLINE Vector3 _transformVector(Vector3 v) const; 475 EIGEN_STRONG_INLINE typename QuaternionBase<Derived>::Vector3 476 QuaternionBase<Derived>::_transformVector(Vector3 v) const 482 // Vector3 as temporaries. 483 Vector3 uv = this->vec().cross(v); 584 Vector3 v0 = a.normalized(); 585 Vector3 v1 = b.normalized(); 601 Vector3 axis = svd.matrixV().col(2) [all...] |
/external/eigen/test/eigen2/ |
eigen2_geometry.cpp | 25 typedef Matrix<Scalar,3,1> Vector3; 40 Vector3 v0 = Vector3::Random(), 41 v1 = Vector3::Random(), 42 v2 = Vector3::Random(); 101 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX()) 102 * AngleAxisx(Scalar(0.2), Vector3::UnitY()) 103 * AngleAxisx(Scalar(0.3), Vector3::UnitZ()); 105 AngleAxisx(Scalar(0.1), Vector3(1,0,0)).toRotationMatrix() 106 * (AngleAxisx(Scalar(0.2), Vector3(0,1,0)).toRotationMatrix( [all...] |
eigen2_geometry_with_eigen2_prefix.cpp | 27 typedef Matrix<Scalar,3,1> Vector3; 42 Vector3 v0 = Vector3::Random(), 43 v1 = Vector3::Random(), 44 v2 = Vector3::Random(); 103 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX()) 104 * AngleAxisx(Scalar(0.2), Vector3::UnitY()) 105 * AngleAxisx(Scalar(0.3), Vector3::UnitZ()); 107 AngleAxisx(Scalar(0.1), Vector3(1,0,0)).toRotationMatrix() 108 * (AngleAxisx(Scalar(0.2), Vector3(0,1,0)).toRotationMatrix( [all...] |
/external/eigen/demos/opengl/ |
quaternion_demo.cpp | 141 typedef Matrix<Scalar,3,1> Vector3; 146 Vector3 m_angles; 154 const Vector3& coeffs() const { return m_angles; } 155 Vector3& coeffs() { return m_angles; } 176 Vector3 c = m_angles.array().cos(); 177 Vector3 s = m_angles.array().sin();
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
TransformationMatrix.cpp | 78 typedef double Vector3[3]; 261 static double v3Length(Vector3 a) 266 static void v3Scale(Vector3 v, double desiredLength) 277 static double v3Dot(const Vector3 a, const Vector3 b) 284 static void v3Combine(const Vector3 a, const Vector3 b, Vector3 result, double ascl, double bscl) 292 static void v3Cross(const Vector3 a, const Vector3 b, Vector3 result [all...] |