Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 926 Bytes

README.md

File metadata and controls

36 lines (19 loc) · 926 Bytes

TinySHRot, header-only C89 spherical harmonics rotation codes.

Based on my quite old blog post back to 2003. http://lucille.sourceforge.net/blog/archives/000005.html

TinySHRot is good for your rendering engine and game engine.

Features

  • C89 + Header-only
  • SH rotation only

Status

  • Shold work (visually) correctly with unit tests, but not verified in terms of mathematical correctness(Contribution is welcome!).

Notice

If you want fast and full-featured SH rotation code, there are good OSS codes these days, e.g. https://github.com/google/spherical-harmonics.

References

  • Evaluation of the rotation matrices in the basis of real spherical harmonics

Papers worth to see

  • Z. Gimbutas and L. Greengard, "A fast and stable method for rotating spherical harmonic expansions", 2009

License

MIT license

Contributors