Recently, had a 'PI' collision between the one defined in RadeonRays and another sourcebase (which was using 'PI' as a namespace). While an #undef PI easily solved the issue, moving such (commonly named) constants to the RadeonRays namespace by way of a const might save future developers trouble.
Recently, had a 'PI' collision between the one defined in RadeonRays and another sourcebase (which was using 'PI' as a namespace). While an
#undef PI
easily solved the issue, moving such (commonly named) constants to the RadeonRays namespace by way of aconst
might save future developers trouble.