Home
last modified time | relevance | path

Searched refs:view_distance (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/modules/skottie/src/
DCamera.cpp40 view_distance = zoom, in ComputeCameraMatrix() local
41 view_angle = std::atan(sk_ieee_float_divide(view_size * 0.5f, view_distance)); in ComputeCameraMatrix()
44 * SkM44::Perspective(0, view_distance, 2 * view_angle); in ComputeCameraMatrix()
/third_party/flutter/skia/modules/skottie/src/
DSkottieAdapter.cpp167 view_distance = this->getZoom(), in totalMatrix() local
168 view_angle = std::atan(sk_ieee_float_divide(view_size * 0.5f, view_distance)); in totalMatrix()
171 Sk3Perspective(&persp_t, 0, view_distance, 2 * view_angle); in totalMatrix()