Home
last modified time | relevance | path

Searched refs:atan (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/triangle/
H A Drender_triangle.cpp31 double bottomAngle = PI - std::atan(width / 2.0 / height) * 2.0; in Calculate()
32 double topAngle = PI - std::atan(height * 2.0 / width); in Calculate()
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_inplace_env_common.h72 const vec2 texCoord = vec2(atan(worldView.z, worldView.x) + CORE3D_DEFAULT_ENV_PI, acos(worldView.y)) / in InplaceEnvironmentBlock()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_graphic.cpp441 width = 2 * bounds.Height() * sin(std::atan(scalar)) * cos(atan(scalar)); // 2: algorithm parameters in RectifyTargetSize()
442 height = 2 * bounds.Height() * sin(std::atan(scalar)) * sin(atan(scalar)); // 2: algorithm parameters in RectifyTargetSize()
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dmathf.h141 /** atan wrapper for float */
142 inline float atan(float f) in atan() function
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dscene_util.cpp194 const float yFov = (aspectRatio > 1.0f) ? fovY : (2.0f * Math::atan(Math::tan(fovY * 0.5f) / aspectRatio)); in UpdateCameraViewport()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_layout_algorithm.cpp123 auto theta = std::atan(h1 / w1); in GetEndP2P4()
138 auto theta = std::atan(h1 / w1); in GetP2()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_modifier.cpp879 auto bottomAngle = std::atan(height / (width * PERCENT_HALF)); in CreateDefaultTrianglePath()

Completed in 11 milliseconds