Searched defs:static_cast (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dnumeric.h17 return f * static_cast<FT>(180.0 / M_PI);
22 return f * static_cast<FT>(M_PI / 180.0);
47 T NormalizeDegrees(T x, T centre = static_cast<T>(180.0)) { argument
48 return NormalizePeriodicRange(x, centre - static_cast<T>(180.0),
49 centre + static_cast<T>(180.0));
62 T NormalizeRadians(T x, T centre = static_cast<T>(M_PI)) { argument
63 return NormalizePeriodicRange(x, centre - static_cast<T>(M_PI),
64 centre + static_cast<T>(M_PI));
72 return vec2i(roundf(static_cast<float>(v.x()) * scale),
73 roundf(static_cast<floa
[all...]

Completed in 118 milliseconds