Summary: | Quaternion multiplication unexpected behavior | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Tek <fwdk98003> |
Component: | graph | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | rami.santina, sgothel |
Priority: | --- | ||
Version: | 2 | ||
Hardware: | All | ||
OS: | all | ||
Type: | --- | SCM Refs: |
jogl 944562a9600598dfa8a23f96f568fde999e1eca3
jogl 5fafc1ac360333645b807dcd8dff0c0a655ea439
|
Workaround: | --- |
Description
Tek
2012-11-06 23:29:07 CET
Thank you for your detailed bug report, inclusive references and fix. Assigned to the original author, Rami Santina. Let's wait until Rami has a chance to reply. @Rami: We may want to merge math util stuff (FloatUtil, ..) somehow more central ? Yup thats correct, the fix is verified. Its good that we havent used this method in graph yet :) Great Catch. Thanks. PS: its true quaternions are not commutative, but thats regarding q1*12 vs q2*q1, thus has nothing to do with quat. premitives. since w1*w2 will always give same result :) @Sven, can you merge in this fix? Yup thats correct, the fix is verified. Its good that we havent used this method in graph yet :) Great Catch. Thanks. PS: its true quaternions are not commutative, but thats regarding q1*12 vs q2*q1, thus has nothing to do with quat. premitives. since w1*w2 will always give same result :) @Sven, can you merge in this fix? (In reply to comment #4) > @Sven, can you merge in this fix? Yes. BTW ... can we have a unit test for this ? :) I will also validate the package location of out float/math stuff. (In reply to comment #4) > PS: its true quaternions are not commutative, but thats regarding q1*12 vs > q2*q1, thus has nothing to do with quat. premitives. since w1*w2 will always > give same result :) Thank you for clearing that up. Fixed w/ 944562a9600598dfa8a23f96f568fde999e1eca3 - setting Tek as author of commit. Also went fwd to reorg. math util locations, see commit 5fafc1ac360333645b807dcd8dff0c0a655ea439, etc .. |