sajty/ember — comment on commit 6a30ef9cba35617598ec84978df32966e2af17b9
File: src/components/ogre/environment/FoliageBase.cpp line 137
By erikhjortsberg:

I don't see the reason for doing this. "reinterpret_cast" should only be used when one absolutely has to; in this case "static_cast" will do just fine. Note that the address of "userData" and "heightProvider" is exactly the same; the cast is only needed to let the compiler know what kind of object resides at that location.