gfx::ClockwiseAngleBetweenVectorsInDegrees can return NAN |
||
Issue descriptiongfx::ClockwiseAngleBetweenVectorsInDegrees can return NAN in cases where the two provided vectors are extremely close. This is likely due to trying to take the arccosine of something that's slightly outside of [-1, 1] due to floating point precision. This was originally found in VR Browser instrumentation tests on Vega devices, but is easily reproducible in the GFX unittests using the following vectors: (0, -0.990842f, -0.003177f) (0, -0.999995f, -0.003124f)
,
Jan 3
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 3