Home
last modified time | relevance | path

Searched refs:Dot (Results 1 - 19 of 19) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dmatrix.h90 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 Dmatrix_util.h694 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 Dvector_util.h29 /** 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 Dquaternion_util.h62 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 Dtransform_util.cpp28 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 Drs_vector2.h41 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 Drs_vector3.h42 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 Drs_vector4.h48 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 Dmmi_vector2.h42 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 Dmmi_vector3.h41 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 Dpicking.cpp114 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 Dmesh_util.cpp417 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 Dwm_math.cpp280 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 Drs_vector3_test.cpp52 * @tc.desc: test results of Dot
60 float sum = vector.Dot(vectorNew); in HWTEST_F()
H A Drs_vector4_test.cpp52 * @tc.desc: test results of Dot
60 float sum = vector.Dot(vectorNew); in HWTEST_F()
/foundation/window/window_manager/utils/include/
H A Dwm_math.h173 static float Dot(const Vector3& a, const Vector3& b) in Dot() function
/foundation/graphic/graphic_utils_lite/test/
H A Dgraphic_math_unit_test.cpp97 * @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 Dgraphic_math.h140 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 Drender_system.cpp1052 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;

Completed in 20 milliseconds