Searched refs:fov (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dfield_of_view.h25 explicit FieldOfView(const float* fov) argument
26 : FieldOfView(fov[0], fov[1], fov[2], fov[3]) {}
H A Dlog_helpers.h54 inline std::ostream& operator<<(std::ostream& out, const FieldOfView& fov) { argument
55 return out << "fov(" << (fov.GetLeft() * 180.0f / M_PI) << ','
56 << (fov.GetRight() * 180.0f / M_PI) << ','
57 << (fov.GetBottom() * 180.0f / M_PI) << ','
58 << (fov.GetTop() * 180.0f / M_PI) << ')';
/frameworks/native/libs/math/include/math/
H A Dmat4.h285 static CONSTEXPR TMat44 perspective(T fov, T aspect, T near, T far, Fov direction = Fov::VERTICAL);
473 CONSTEXPR TMat44<T> TMat44<T>::perspective(T fov, T aspect, T near, T far, TMat44::Fov direction) {
478 h = std::tan(fov * M_PI / 360.0f) * near;
481 w = std::tan(fov * M_PI / 360.0f) * near;

Completed in 31 milliseconds