Skip to content
forked from syoyo/tinyshrot

TinySHRot, header-only C89 spherical harmonics rotation codes.

Notifications You must be signed in to change notification settings

thaga/tinyshrot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

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

About

TinySHRot, header-only C89 spherical harmonics rotation codes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%