Skip to content
Commit c1dc0b46 authored by Akarsh Simha's avatar Akarsh Simha
Browse files

Update comments in SkyPoint::precess()

Rotation matrices are most efficient, even though access time is long

See:
https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation#Performance_comparisons

Applying a rotation matrix, which costs 9 multiplications, is more
efficient than applying a quaternion on a vector. The only issue is
the overhead of accessing 9 double precision elements.

It looks like it is best to stick to rotation matrices.
parent d9158d4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment