aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/QuickStartGuide.dox
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-08-24 23:16:51 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-08-24 23:16:51 +0000
commit5ac883b10a3a7e99811f537be54552ec3e698b44 (patch)
treee900fe38704fd9b1ee05a073d41721dfe9cf813c /doc/QuickStartGuide.dox
parentaa54d6bef0be9b769aa974a7d3a86d85c5d11885 (diff)
Fix a bug discovered in Avogadro: the AngleAxis*Matrix and the newer
AngleAxis*Vector products were wrong because they returned the product _expression_ toRotationMatrix()*other; and toRotationMatrix() died before that expression would be later evaluated. Here it would not have been practical to NestByValue as this is a whole matrix. So, let them simply evaluate and return the result by value. The geometry.cpp unit-test only checked for compatibility between various rotations, it didn't check the correctness of the rotations themselves. That's why this bug escaped us. So, this commit checks that the rotations produced by AngleAxis have all the expected properties. Since the compatibility with the other rotations is already checked, this should validate them as well.
Diffstat (limited to 'doc/QuickStartGuide.dox')
0 files changed, 0 insertions, 0 deletions