clemense / quaternion-conventions

An overview of different quaternion implementations and their chosen order: x-y-z-w or w-x-y-z?
MIT License
123 stars 4 forks source link

Needs a column for JPL vs Hamilton #3

Open fire opened 1 year ago

fire commented 1 year ago

See document for details https://github.com/godotengine/godot-docs/issues/6271

The math for conversion from JPL or Hamilton is take x,y,z,w where x,y,z is the axis and multiply the axis by -1. W is the scalar like 1.

clemense commented 1 year ago

Thanks! I didn't know that. It looks like these are two versions of quaternion multiplications as described in: https://arxiv.org/abs/1801.07478 , right? I'm open to adding a column to the table.