OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:real_magnitude
(Results
1 - 1
of
1
) sorted by null
/external/chromium_org/content/browser/gamepad/
xbox_data_fetcher_mac.cc
95
float
real_magnitude
= std::sqrt(x_val * x_val + y_val * y_val);
local
98
if (
real_magnitude
> deadzone) {
100
float magnitude = std::min(32767.0f,
real_magnitude
);
107
float ratio = (magnitude / (32767 - deadzone)) /
real_magnitude
;
Completed in 393 milliseconds