Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dlog_helpers.h54 inline std::ostream& operator<<(std::ostream& out, const FieldOfView& fov) {
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) << ')';
Dfield_of_view.h25 explicit FieldOfView(const float* fov) in FieldOfView() argument
26 : FieldOfView(fov[0], fov[1], fov[2], fov[3]) {} in FieldOfView()
/frameworks/native/libs/math/include/math/
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) { in perspective() argument
478 h = std::tan(fov * M_PI / 360.0f) * near; in perspective()
481 w = std::tan(fov * M_PI / 360.0f) * near; in perspective()