diff options
author | Mathias Agopian <mathias@google.com> | 2010-11-22 01:04:09 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-11-22 01:04:09 -0800 |
commit | 5d45c33eb875b9c9d51c9364afa57a0be65adfa4 (patch) | |
tree | 2255ae16dc5bca996daf07e2ed684d177e4f4e1f /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 805bddc123c1fc56be333d6ff365f168d4bc2b08 (diff) |
don't attempt to normalize the rotation vector
indeed, by construction of the rotation matrix, it is
guaranteed to have a length of 1.
moreover, the normalization code was missing a square-root,
fortunatelly, since the length is 1, this didn't cause any
damage (since sqrt(1) = 1).
Change-Id: I9facd668caaf5bb3bfccb139ab872f2bb2066365
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions