diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2015-02-20 03:38:32 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2015-02-26 11:02:59 +0000 |
commit | b7d4e4ffebf91ff539e705abef9941073667f373 (patch) | |
tree | f8882212752ebdb7794bfb0aa1612505a0425b99 /src/platformsupport/eglconvenience | |
parent | e628c80dc38f00efd5a7821a8be61eadcf838b62 (diff) |
Optimize quaternion to rotation matrix convertion
Rearrange operands to get rid of 50% of multiplications
(i.e. `2 * (x * x + z * z)` -> `(x + x) * x + (z + z) * z`).
Change-Id: Ib5279425ead999fc571b4964ac1681b6e22f9a7e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/platformsupport/eglconvenience')
0 files changed, 0 insertions, 0 deletions