Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#60 Quaternion inverse incorrect

open
nobody
cal3d (30)
5
2005-07-15
2005-07-15
James W. Walker
No

In quaternion.h, the invert() operation computes "norm" as a sum of
squares. Surely there should be a square root.

Discussion

  • Afonso
    Afonso
    2005-08-30

    Logged In: YES
    user_id=1337414

    By definition norm is square root of the sum of the squares
    of the components.

    Don't know why, but in some places you see a reference to
    norm (on quaternions) without the square root. This is NOT
    the norm, however, the formula is correct, it doesn't use
    the square root.

    As the _real_ norm isn't really used for anything on the
    quaternions, there's no problem in using that name.