summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorPrabir Pradhan <prabirmsp@google.com>2021-10-19 11:24:45 -0700
committerPrabir Pradhan <prabirmsp@google.com>2021-10-27 10:55:13 +0000
commit4bb5ae9fa81fbc818556c2642b61ed0f95046f4b (patch)
treebc62ce22fe363ea69f91bb505496c183e9ff44fd /opengl/tests/gl_basic/gl_basic.cpp
parente6adce5936314c85b739c3a0297fe601100e6284 (diff)
MotionEvent: Avoid clipping tranformed orientation angle values
A recent refactor (ag/14556109) exposed an issue in the existing orientation angle transformation logic where the output was clipped incorrectly. There is no need to clip the ouput of atan2f because its output is in the range [-pi, pi], which conforms to the MotionEvent's orientation API. Test: manual with stylus and test app Bug: 202534592 Merged-In: I55df7470049922d0f579c2c1921dcacd0757ece1 Change-Id: I55df7470049922d0f579c2c1921dcacd0757ece1
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions