/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | matrix.h | 90 return { { Dot(x, rha), Dot(x, rhb), Dot(x, rhc) }, { Dot(y, rha), Dot(y, rhb), Dot(y, rhc) }, in operator *() 91 { Dot(z, rha), Dot(z, rhb), Dot(z, rhc) } }; in operator *()
|
H A D | matrix_util.h | 694 result.w.x = -Dot(s, eye); in LookAtRh() 695 result.w.y = -Dot(u, eye); in LookAtRh() 696 result.w.z = Dot(f, eye); in LookAtRh() 717 result.w.x = -Dot(s, eye); in LookAtLh() 718 result.w.y = -Dot(u, eye); in LookAtLh() 719 result.w.z = -Dot(f, eye); in LookAtLh() 780 scale.x = sqrt(Dot(row[0], row[0])); in Decompose() 784 skew.z = Dot(row[0], row[1]); in Decompose() 787 scale.y = sqrt(Dot(row[1], row[1])); in Decompose() 791 skew.y = Dot(ro in Decompose() [all...] |
H A D | vector_util.h | 29 /** Dot product of two vector2's */ 30 static inline constexpr float Dot(const Vec2& lhs, const Vec2& rhs) in Dot() function 148 /** Dot product of two vector3's */ 149 static inline constexpr float Dot(const Vec3& lhs, const Vec3& rhs) in Dot() function
|
H A D | quaternion_util.h | 62 static inline constexpr float Dot(const Quat& q1, const Quat& q2) in Dot() function 232 float cosTheta = Dot(x, z); in Slerp()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.cpp | 28 float Dot(const float* a, const float* b) in Dot() function 543 out.skew[0] = Dot<3>(column[0], column[1]); in DecomposeTransform() 556 out.skew[1] = Dot<3>(column[0], column[2]); in DecomposeTransform() 558 out.skew[2] = Dot<3>(column[1], column[2]); in DecomposeTransform() 579 if (Dot<3>(column[0], pdum3) < 0) { in DecomposeTransform()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_vector2.h | 41 T Dot(const Vector2<T>& other) const; 105 T Vector2<T>::Dot(const Vector2<T>& other) const in Dot() function in OHOS::Rosen::Vector2
|
H A D | rs_vector3.h | 42 T Dot(const Vector3<T>& other) const; 107 T Vector3<T>::Dot(const Vector3<T>& other) const in Dot() function in OHOS::Rosen::Vector3
|
H A D | rs_vector4.h | 48 T Dot(const Vector4<T>& other) const; 198 T Vector4<T>::Dot(const Vector4<T>& other) const in Dot() function in OHOS::Rosen::Vector4
|
/foundation/multimodalinput/input/util/common/include/ |
H A D | mmi_vector2.h | 42 T Dot(const Vector2<T>& other) const; 102 T Vector2<T>::Dot(const Vector2<T>& other) const in Dot() function in OHOS::MMI::Vector2
|
H A D | mmi_vector3.h | 41 T Dot(const Vector3<T>& other) const; 106 T Vector3<T>::Dot(const Vector3<T>& other) const in Dot() function in OHOS::MMI::Vector3
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | picking.cpp | 114 const float det = Math::Dot(v0v1, pvec); in IntersectTriangle() 125 const float u = Math::Dot(tvec, pvec) * invDet; in IntersectTriangle() 133 const float v = Math::Dot(direction, qvec) * invDet; in IntersectTriangle() 140 hitDistance = Math::Dot(v0v2, qvec) * invDet; in IntersectTriangle()
|
H A D | mesh_util.cpp | 417 const Math::Vec3 tmp = Math::Normalize(t - n * Math::Dot(n, t)); in CalculateTangentImpl() 420 const float w = (Math::Dot(Math::Cross(n, t), bitan[i]) < 0.0F) ? 1.0F : -1.0F; in CalculateTangentImpl()
|
/foundation/window/window_manager/utils/src/ |
H A D | wm_math.cpp | 280 trans.x_ = -Vector3::Dot(xaxis, eye); in CreateLookAt() 281 trans.y_ = -Vector3::Dot(yaxis, eye); in CreateLookAt() 282 trans.z_ = -Vector3::Dot(zaxis, eye); in CreateLookAt()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/ |
H A D | rs_vector3_test.cpp | 52 * @tc.desc: test results of Dot 60 float sum = vector.Dot(vectorNew); in HWTEST_F()
|
H A D | rs_vector4_test.cpp | 52 * @tc.desc: test results of Dot 60 float sum = vector.Dot(vectorNew); in HWTEST_F()
|
/foundation/window/window_manager/utils/include/ |
H A D | wm_math.h | 173 static float Dot(const Vector3& a, const Vector3& b) in Dot() function
|
/foundation/graphic/graphic_utils_lite/test/ |
H A D | graphic_math_unit_test.cpp | 97 * @tc.desc: Verify Dot function, equal. 116 EXPECT_EQ(vector1->Dot(*vector2), value); in HWTEST_F()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | graphic_math.h | 140 T Dot(const Vector2<T>& other) const in Dot() function in OHOS::Vector2
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | render_system.cpp | 1052 return Math::Vec4(cnormal.x, cnormal.y, cnormal.z, -Math::Dot(cpos, cnormal)); in CalculateCameraSpaceClipPlane() 1061 const Math::Vec4 c = plane * (2.0f / Math::Dot(plane, q)); in CalculateObliqueProjectionMatrix() 1955 const float distance = -Math::Dot(normal, translation) - reflComponent.clipOffset;
|