/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/triangle/ |
H A D | render_triangle.cpp | 35 centerPoint.SetX(x1_ + radius_ * std::tan(topAngle / 2.0)); in Calculate() 44 centerPoint.SetX(x2_ - radius_ * std::tan(topAngle / 2.0)); in Calculate() 62 double topDiff = radius_ * std::tan(topAngle / 2.0) - radius_; in Calculate()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/assets/3d/shaders/computeshader/ |
H A D | core3d_dm_morph.comp | 92 vec3 t = data[tid].tan.xyz; 93 const float tangentW = data[tid].tan.w; 108 t += data[index].tan.xyz * w;
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.cpp | 1330 { buffer + baseOffset + offsetof(MorphInputData, tan), targetSize } }; in SetMorphTargetData() 1976 auto tan = *reinterpret_cast<const Math::Vec3*>( in GatherDeltasPNT() local 1990 target->nortan.z = Math::PackHalf2X16({ tan.x, tan.y }); in GatherDeltasPNT() 1991 target->nortan.w = Math::PackHalf2X16({ tan.z, 0.f }); in GatherDeltasPNT() 1994 target->tan = Math::Vec4(tan, 0.f); in GatherDeltasPNT() 2021 Math::Vec3 tan; in GatherDeltasPNT() local 2023 for (auto i = 0U; i < Math::min(countof(tan.data), tanFormat.componentCount); ++i) { in GatherDeltasPNT() 2024 tan[i] = tanFormat.toIntermediate(ptr + i * tanFormat.componentByteSize); in GatherDeltasPNT() 2038 target->nortan.z = Math::PackHalf2X16({ tan.data[R], tan.data[G] }); in GatherDeltasPNT() 2039 target->nortan.w = Math::PackHalf2X16({ tan.data[B], 0.f }); in GatherDeltasPNT() [all …]
|
H A D | mesh_util.cpp | 372 vector<Math::Vec3> tan(positions.size(), { 0, 0, 0 }); in CalculateTangentImpl() local 401 tan[aa] += sdir; in CalculateTangentImpl() 402 tan[bb] += sdir; in CalculateTangentImpl() 403 tan[cc] += sdir; in CalculateTangentImpl() 414 const Math::Vec3& t = tan[i]; in CalculateTangentImpl()
|
H A D | scene_util.cpp | 94 const float scale = tan(cameraComponent.yFov * 0.5f) * cameraComponent.zNear; in CalculateProjectionMatrix() 194 …const float yFov = (aspectRatio > 1.0f) ? fovY : (2.0f * Math::atan(Math::tan(fovY * 0.5f) / aspec… in UpdateCameraViewport()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/assets/3d/shaders/common/ |
H A D | morph_target_structs.h | 35 vec4 tan; member
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties_def.h | 262 float tan = std::sqrt(static_cast<float>(1 - pow(cos, 2))) / cos; in CalculateLightRadius() local 263 return lightPosZ * tan; in CalculateLightRadius()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-appendix-types.md | 161 | tan | \#d2b48c |  |
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | mathf.h | 130 inline float tan(float value) in BASE_BEGIN_NAMESPACE()
|
H A D | matrix_util.h | 469 float const tanHalfFovy = tan(fovy / 2.0f); in BASE_BEGIN_NAMESPACE() 509 float const tanHalfFovy = tan(fovy / 2.0f); in BASE_BEGIN_NAMESPACE()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-common-styles.md | 178 | tan | \#d2b48c |  |
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-appendix-types.md | 161 | tan | \#d2b48c |  |
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-common-styles.md | 178 | tan | \#d2b48c |  |
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/ |
H A D | XMat4.js | 136 let ret = w / (tan((30 * pi) / 180) * 2);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | matrix4_test.cpp | 120 … EXPECT_DOUBLE_EQ(matrix4Obj8.Get(VALID_ROW1, VALID_COL0), std::tan(DEFAULT_DOUBLE1 * ANGLE_UNIT)); 121 … EXPECT_DOUBLE_EQ(matrix4Obj8.Get(VALID_ROW0, VALID_COL1), std::tan(DEFAULT_DOUBLE1 * ANGLE_UNIT));
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | js-apis-arkts-decimal.md | 735 ### tan subsection 737 tan(): Decimal 754 let data: Decimal = new Decimal(0.75).tan(); 755 console.info("test Decimal tan:" + data.toString()); // 'test Decimal tan:0.93159645994407246117' 3445 ### tan subsection 3447 static tan(n: Value): Decimal 3480 let data: Decimal = Decimal.tan(0.75); 3481 console.info("test Decimal tan:" + data.toString()); // 'test Decimal tan:0.93159645994407246117'
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | matrix4.cpp | 75 …return Matrix4(1.0f, std::tan(x * ANGLE_UNIT), 0.0f, 0.0f, std::tan(y * ANGLE_UNIT), 1.0f, 0.0f, 0… in CreateSkew()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-appendix-types.md | 157 | tan | \#d2b48c | : Decimal 752 let data: Decimal = new Decimal(0.75).tan(); 753 console.info("test Decimal tan:" + data.toString()); // 'test Decimal tan:0.93159645994407246117' 3443 ### tan subsection 3445 static tan(n: Value): Decimal 3478 let data: Decimal = Decimal.tan(0.75); 3479 console.info("test Decimal tan:" + data.toString()); // 'test Decimal tan:0.93159645994407246117'
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A D | gauge_modifier.cpp | 788 … : std::tan((oppositeSide) / (data.radius - data.thickness * PERCENT_HALF)) * HALF_CIRCLE / M_PI; in GetOffsetDegree() 895 auto tempBottomHypotenuse = cornerRadius / std::tan(bottomAngle * PERCENT_HALF); in CreateDefaultTrianglePath()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 306 float slope = tan(Deg2rad(90.0f - angle)); in EndPointsFromAngle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.cpp | 333 float slope = tan(Deg2rad(RIGHT_ANGLE_F - angle)); in EndPointsFromAngle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.cpp | 406 float slope = tan(Deg2rad(90.0f - angle)); in EndPointsFromAngle() 455 float slope = tan(Deg2rad(90.0f - angle)); in EndPointsFromAngle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_layout_algorithm.cpp | 142 auto side1 = radius.ConvertToPx() / std::tan(alpha); in GetP2()
|