Searched refs:view_distance (Results 1 – 2 of 2) sorted by relevance
40 view_distance = zoom, in ComputeCameraMatrix() local41 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()
167 view_distance = this->getZoom(), in totalMatrix() local168 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()